activity_main.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical"
  7. tools:context=".MainActivity">
  8. <ScrollView
  9. android:layout_weight="1"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <LinearLayout
  13. android:layout_weight="1"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:orientation="vertical">
  17. <Button
  18. android:id="@+id/douyou_login"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:text="登录"/>
  22. <Button
  23. android:id="@+id/Pay"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:text="支付"/>
  27. <Button
  28. android:id="@+id/reportRoleLogin"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:text="角色登录信息上报"/>
  32. <Button
  33. android:id="@+id/reportRole"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:text="角色数据上报"/>
  37. <Button
  38. android:id="@+id/logout"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:text="退出登录"/>
  42. <Button
  43. android:id="@+id/exit"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:text="退出app"/>
  47. <Button
  48. android:id="@+id/GroMoreAD"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:text="激励广告"/>
  52. <Button
  53. android:id="@+id/cash_out"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:text="红包提现"/>
  57. <Button
  58. android:visibility="gone"
  59. android:id="@+id/showQuestionnaire"
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:text="问卷"/>
  63. </LinearLayout>
  64. </ScrollView>
  65. </LinearLayout>