fusion_activity_demo.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:background="@android:color/white"
  7. >
  8. <ScrollView
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent" >
  11. <LinearLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:orientation="vertical" android:padding="5dp">
  15. <Button
  16. android:id="@+id/login"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:text="登录" />
  20. <Button
  21. android:layout_margin="1dp"
  22. android:id="@+id/logout_user"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:text="登出" />
  26. <Button
  27. android:layout_margin="1dp"
  28. android:id="@+id/switch_user"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:text="切换用户" />
  32. <Button
  33. android:layout_margin="1dp"
  34. android:id="@+id/sub_data"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:text="提交角色数据" />
  38. <Button
  39. android:layout_margin="1dp"
  40. android:id="@+id/exit_game"
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:text="退出游戏" />
  44. <Button
  45. android:layout_margin="1dp"
  46. android:id="@+id/btn_pay"
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:text="支付" />
  50. </LinearLayout>
  51. </ScrollView>
  52. </LinearLayout>