trade_recharge_activity.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <com.sheishuo.app.common.views.BaseToolbar
  8. android:id="@+id/toolbar"
  9. android:layout_width="match_parent"
  10. android:layout_height="@dimen/action_bar_height"
  11. style="@style/fullToolbarStyle"/>
  12. <GridLayout
  13. android:id="@+id/recharge_grid"
  14. android:layout_width="385dp"
  15. android:layout_height="wrap_content"
  16. android:columnCount="3"
  17. android:padding="15dp">
  18. <LinearLayout
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:background="@drawable/ico_recharge_unchecked"
  22. android:gravity="center"
  23. android:orientation="vertical">
  24. <TextView
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:text="20元"
  28. android:textAlignment="center"
  29. android:textColor="@color/black" />
  30. <TextView
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_marginTop="10dp"
  34. android:text="20说币"
  35. android:textAlignment="center" />
  36. </LinearLayout>
  37. <LinearLayout
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginLeft="10dp"
  41. android:layout_marginRight="10dp"
  42. android:background="@drawable/ico_recharge_unchecked"
  43. android:gravity="center"
  44. android:orientation="vertical">
  45. <TextView
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:text="30元"
  49. android:textAlignment="center"
  50. android:textColor="@color/black" />
  51. <TextView
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_marginTop="10dp"
  55. android:text="30说币"
  56. android:textAlignment="center" />
  57. </LinearLayout>
  58. <LinearLayout
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:background="@drawable/ico_recharge_unchecked"
  62. android:gravity="center"
  63. android:orientation="vertical">
  64. <TextView
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:text="50元"
  68. android:textAlignment="center"
  69. android:textColor="@color/black" />
  70. <TextView
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_marginTop="10dp"
  74. android:text="50说币"
  75. android:textAlignment="center" />
  76. </LinearLayout>
  77. <LinearLayout
  78. android:layout_height="wrap_content"
  79. android:layout_marginTop="10dp"
  80. android:background="@drawable/ico_recharge_unchecked"
  81. android:gravity="center"
  82. android:orientation="vertical">
  83. <TextView
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:text="100元"
  87. android:textAlignment="center"
  88. android:textColor="@color/black" />
  89. <TextView
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:layout_marginTop="10dp"
  93. android:text="100说币"
  94. android:textAlignment="center" />
  95. </LinearLayout>
  96. <LinearLayout
  97. android:layout_height="wrap_content"
  98. android:layout_marginLeft="10dp"
  99. android:layout_marginRight="10dp"
  100. android:layout_marginTop="10dp"
  101. android:background="@drawable/ico_recharge_unchecked"
  102. android:gravity="center"
  103. android:orientation="vertical">
  104. <TextView
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:text="200元"
  108. android:textAlignment="center"
  109. android:textColor="@color/black" />
  110. <TextView
  111. android:layout_width="match_parent"
  112. android:layout_height="wrap_content"
  113. android:layout_marginTop="10dp"
  114. android:text="200说币"
  115. android:textAlignment="center" />
  116. </LinearLayout>
  117. <LinearLayout
  118. android:layout_height="wrap_content"
  119. android:layout_marginTop="10dp"
  120. android:background="@drawable/ico_recharge_unchecked"
  121. android:gravity="center"
  122. android:orientation="vertical">
  123. <TextView
  124. android:layout_width="match_parent"
  125. android:layout_height="wrap_content"
  126. android:text="300元"
  127. android:textAlignment="center"
  128. android:textColor="@color/black" />
  129. <TextView
  130. android:layout_width="match_parent"
  131. android:layout_height="wrap_content"
  132. android:layout_marginTop="10dp"
  133. android:text="300说币"
  134. android:textAlignment="center" />
  135. </LinearLayout>
  136. </GridLayout>
  137. <Button
  138. android:id="@+id/trade_recharge_btn"
  139. android:layout_width="match_parent"
  140. android:layout_height="wrap_content"
  141. android:layout_margin="16dp"
  142. android:background="@drawable/btn1_selector"
  143. android:text="立刻充值"
  144. android:textColor="@color/GreyWhite" />
  145. </LinearLayout>