trade_recharge_activity.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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="match_parent"
  15. android:layout_height="wrap_content"
  16. android:columnCount="3"
  17. android:padding="15dp">
  18. <LinearLayout
  19. android:layout_width="0dp"
  20. android:layout_height="wrap_content"
  21. android:layout_columnWeight="1"
  22. android:background="@drawable/ico_recharge_unchecked"
  23. android:gravity="center"
  24. android:orientation="vertical">
  25. <TextView
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:text="20元"
  29. android:textAlignment="center"
  30. android:textColor="@color/black" />
  31. <TextView
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_marginTop="10dp"
  35. android:text="20说币"
  36. android:textAlignment="center" />
  37. </LinearLayout>
  38. <LinearLayout
  39. android:layout_width="0dp"
  40. android:layout_height="wrap_content"
  41. android:layout_columnWeight="1"
  42. android:layout_marginLeft="10dp"
  43. android:layout_marginRight="10dp"
  44. android:background="@drawable/ico_recharge_unchecked"
  45. android:gravity="center"
  46. android:orientation="vertical">
  47. <TextView
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:text="30元"
  51. android:textAlignment="center"
  52. android:textColor="@color/black" />
  53. <TextView
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_marginTop="10dp"
  57. android:text="30说币"
  58. android:textAlignment="center" />
  59. </LinearLayout>
  60. <LinearLayout
  61. android:layout_width="0dp"
  62. android:layout_height="wrap_content"
  63. android:layout_columnWeight="1"
  64. android:background="@drawable/ico_recharge_unchecked"
  65. android:gravity="center"
  66. android:orientation="vertical">
  67. <TextView
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:text="50元"
  71. android:textAlignment="center"
  72. android:textColor="@color/black" />
  73. <TextView
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_marginTop="10dp"
  77. android:text="50说币"
  78. android:textAlignment="center" />
  79. </LinearLayout>
  80. <LinearLayout
  81. android:layout_width="0dp"
  82. android:layout_height="wrap_content"
  83. android:layout_columnWeight="1"
  84. android:layout_marginTop="10dp"
  85. android:background="@drawable/ico_recharge_unchecked"
  86. android:gravity="center"
  87. android:orientation="vertical">
  88. <TextView
  89. android:layout_width="match_parent"
  90. android:layout_height="wrap_content"
  91. android:text="100元"
  92. android:textAlignment="center"
  93. android:textColor="@color/black" />
  94. <TextView
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:layout_marginTop="10dp"
  98. android:text="100说币"
  99. android:textAlignment="center" />
  100. </LinearLayout>
  101. <LinearLayout
  102. android:layout_width="0dp"
  103. android:layout_height="wrap_content"
  104. android:layout_columnWeight="1"
  105. android:layout_marginLeft="10dp"
  106. android:layout_marginRight="10dp"
  107. android:layout_marginTop="10dp"
  108. android:background="@drawable/ico_recharge_unchecked"
  109. android:gravity="center"
  110. android:orientation="vertical">
  111. <TextView
  112. android:layout_width="match_parent"
  113. android:layout_height="wrap_content"
  114. android:text="200元"
  115. android:textAlignment="center"
  116. android:textColor="@color/black" />
  117. <TextView
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_marginTop="10dp"
  121. android:text="200说币"
  122. android:textAlignment="center" />
  123. </LinearLayout>
  124. <LinearLayout
  125. android:layout_width="0dp"
  126. android:layout_height="wrap_content"
  127. android:layout_columnWeight="1"
  128. android:layout_marginTop="10dp"
  129. android:background="@drawable/ico_recharge_unchecked"
  130. android:gravity="center"
  131. android:orientation="vertical">
  132. <TextView
  133. android:layout_width="match_parent"
  134. android:layout_height="wrap_content"
  135. android:text="300元"
  136. android:textAlignment="center"
  137. android:textColor="@color/black" />
  138. <TextView
  139. android:layout_width="match_parent"
  140. android:layout_height="wrap_content"
  141. android:layout_marginTop="10dp"
  142. android:text="300说币"
  143. android:textAlignment="center" />
  144. </LinearLayout>
  145. </GridLayout>
  146. <Button
  147. android:id="@+id/trade_recharge_btn"
  148. android:layout_width="match_parent"
  149. android:layout_height="wrap_content"
  150. android:layout_margin="16dp"
  151. android:background="@drawable/btn1_selector"
  152. android:text="立刻充值"
  153. android:textColor="@color/GreyWhite" />
  154. </LinearLayout>