bdp_paycenter_view_fix_account.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:gravity="center_vertical"
  6. android:orientation="vertical" >
  7. <!-- ↓↓↓ 百度币 ↓↓↓ -->
  8. <LinearLayout
  9. android:id="@+id/bdp_baidu_bean_layout"
  10. android:layout_width="match_parent"
  11. android:layout_height="56dp"
  12. android:background="#ffffff"
  13. android:gravity="center_vertical" >
  14. <View
  15. android:layout_width="10dp"
  16. android:layout_height="20dp"
  17. android:layout_gravity="center_vertical"
  18. android:background="@drawable/bdp_paycenter_pay_ticket_left" />
  19. <CheckBox
  20. android:id="@+id/bdp_baidu_bean_check"
  21. android:layout_width="20dp"
  22. android:layout_height="20dp"
  23. android:layout_marginLeft="10dp"
  24. android:background="@drawable/bdp_paycenter_checkbox"
  25. android:button="@null" />
  26. <View
  27. android:layout_width="1dp"
  28. android:layout_height="56dp"
  29. android:layout_marginLeft="10dp"
  30. android:background="@drawable/bdp_paycenter_view_dotted_line_portrait"
  31. android:layerType="software" />
  32. <LinearLayout
  33. android:id="@+id/bdp_baidu_bean"
  34. android:layout_width="match_parent"
  35. android:layout_height="56dp"
  36. android:layout_marginLeft="12dp"
  37. android:gravity="center_vertical" >
  38. <TextView
  39. android:layout_width="0dip"
  40. android:layout_height="fill_parent"
  41. android:layout_weight="1"
  42. android:gravity="center_vertical"
  43. android:text="@string/bdp_paycenter_use_baidu_bean"
  44. android:textColor="@color/bdp_black" />
  45. <TextView
  46. android:id="@+id/bdp_baidu_bean_content"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_marginRight="5dp"
  50. android:text="@string/bdp_paycenter_pay_amount"
  51. android:textColor="@color/bdp_black" />
  52. <View
  53. android:layout_width="10dp"
  54. android:layout_height="20dp"
  55. android:layout_gravity="center_vertical|right"
  56. android:background="@drawable/bdp_paycenter_pay_ticket_right" />
  57. </LinearLayout>
  58. </LinearLayout>
  59. <View
  60. android:id="@+id/bdp_baidu_bean_dotted_line"
  61. android:layout_width="match_parent"
  62. android:layout_height="8dp"
  63. android:background="#f5f5f5" />
  64. <!-- ↑↑↑ 百度币 ↑↑↑ -->
  65. <!-- ↓↓↓ 酷点 ↓↓↓ -->
  66. <LinearLayout
  67. android:id="@+id/bdp_kudian_layout"
  68. android:layout_width="match_parent"
  69. android:layout_height="56dp"
  70. android:background="#ffffff"
  71. android:gravity="center_vertical" >
  72. <View
  73. android:layout_width="10dp"
  74. android:layout_height="20dp"
  75. android:layout_gravity="center_vertical"
  76. android:background="@drawable/bdp_paycenter_pay_ticket_left" />
  77. <CheckBox
  78. android:id="@+id/bdp_kudian_check"
  79. android:layout_width="20dp"
  80. android:layout_height="20dp"
  81. android:layout_marginLeft="10dp"
  82. android:background="@drawable/bdp_paycenter_checkbox"
  83. android:button="@null" />
  84. <View
  85. android:layout_width="1dp"
  86. android:layout_height="56dp"
  87. android:layout_marginLeft="10dp"
  88. android:background="@drawable/bdp_paycenter_view_dotted_line_portrait"
  89. android:layerType="software" />
  90. <RelativeLayout
  91. android:id="@+id/bdp_kudian"
  92. android:layout_width="match_parent"
  93. android:layout_height="56dp"
  94. android:layout_marginLeft="12dp"
  95. android:gravity="center_vertical" >
  96. <LinearLayout
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:layout_centerVertical="true"
  100. android:orientation="vertical" >
  101. <TextView
  102. android:id="@+id/bdp_kudian_name"
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:gravity="center_vertical"
  106. android:textColor="@color/bdp_black" />
  107. <TextView
  108. android:id="@+id/bdp_kudian_expire"
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:layout_below="@+id/bdp_kudian_name"
  112. android:layout_marginTop="4dp"
  113. android:gravity="center_vertical"
  114. android:textColor="#999999"
  115. android:textSize="11sp" />
  116. </LinearLayout>
  117. <ImageView
  118. android:id="@+id/bdp_kudian_drop"
  119. android:layout_width="8dp"
  120. android:layout_height="15dp"
  121. android:layout_alignParentRight="true"
  122. android:layout_centerVertical="true"
  123. android:layout_marginRight="15dp"
  124. android:background="@drawable/bdp_drop_down_selector"
  125. android:contentDescription="@string/bdp_image"
  126. android:scaleType="centerInside" />
  127. <View
  128. android:layout_width="10dp"
  129. android:layout_height="20dp"
  130. android:layout_alignParentRight="true"
  131. android:layout_centerVertical="true"
  132. android:background="@drawable/bdp_paycenter_pay_ticket_right" />
  133. </RelativeLayout>
  134. </LinearLayout>
  135. <View
  136. android:id="@+id/bdp_kudian_dotted_line"
  137. android:layout_width="match_parent"
  138. android:layout_height="8dp"
  139. android:background="#f5f5f5" />
  140. <!-- ↑↑↑ 酷点 ↑↑↑ -->
  141. <!-- ↓↓↓ 代金券 ↓↓↓ -->
  142. <LinearLayout
  143. android:id="@+id/bdp_voucher_layout"
  144. android:layout_width="match_parent"
  145. android:layout_height="56dp"
  146. android:background="#ffffff"
  147. android:gravity="center_vertical" >
  148. <View
  149. android:layout_width="10dp"
  150. android:layout_height="20dp"
  151. android:layout_gravity="center_vertical"
  152. android:background="@drawable/bdp_paycenter_pay_ticket_left" />
  153. <CheckBox
  154. android:id="@+id/bdp_voucher_check"
  155. android:layout_width="20dp"
  156. android:layout_height="20dp"
  157. android:layout_marginLeft="10dp"
  158. android:background="@drawable/bdp_paycenter_checkbox"
  159. android:button="@null" />
  160. <View
  161. android:layout_width="1dp"
  162. android:layout_height="56dp"
  163. android:layout_marginLeft="10dp"
  164. android:background="@drawable/bdp_paycenter_view_dotted_line_portrait"
  165. android:layerType="software" />
  166. <RelativeLayout
  167. android:id="@+id/bdp_voucher"
  168. android:layout_width="match_parent"
  169. android:layout_height="56dp"
  170. android:layout_marginLeft="11dp"
  171. android:gravity="center_vertical" >
  172. <ImageView
  173. android:layout_width="67dp"
  174. android:layout_height="49dp"
  175. android:layout_alignParentRight="true"
  176. android:layout_marginRight="60dp"
  177. android:layout_marginTop="7dp"
  178. android:background="@drawable/bdp_paycenter_bg_voucher_logo"
  179. android:scaleType="fitXY" />
  180. <LinearLayout
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_centerVertical="true"
  184. android:orientation="vertical" >
  185. <TextView
  186. android:id="@+id/bdp_voucher_name"
  187. android:layout_width="wrap_content"
  188. android:layout_height="wrap_content"
  189. android:gravity="center_vertical"
  190. android:textColor="@color/bdp_black" />
  191. <TextView
  192. android:id="@+id/bdp_voucher_expire"
  193. android:layout_width="wrap_content"
  194. android:layout_height="wrap_content"
  195. android:layout_below="@+id/bdp_voucher_name"
  196. android:layout_marginTop="4dp"
  197. android:gravity="center_vertical"
  198. android:textColor="#999999"
  199. android:textSize="11sp" />
  200. </LinearLayout>
  201. <ImageView
  202. android:id="@+id/bdp_voucher_drop"
  203. android:layout_width="8dp"
  204. android:layout_height="15dp"
  205. android:layout_alignParentRight="true"
  206. android:layout_centerVertical="true"
  207. android:layout_marginRight="15dp"
  208. android:background="@drawable/bdp_drop_down_selector"
  209. android:contentDescription="@string/bdp_image"
  210. android:scaleType="centerInside" />
  211. <View
  212. android:layout_width="10dp"
  213. android:layout_height="20dp"
  214. android:layout_alignParentRight="true"
  215. android:layout_centerVertical="true"
  216. android:background="@drawable/bdp_paycenter_pay_ticket_right" />
  217. </RelativeLayout>
  218. </LinearLayout>
  219. <View
  220. android:id="@+id/bdp_voucher_dotted_line"
  221. android:layout_width="match_parent"
  222. android:layout_height="8dp"
  223. android:background="#f5f5f5"
  224. android:visibility="gone" />
  225. <!-- ↑↑↑ 代金券 ↑↑↑ -->
  226. <!-- ↓↓↓ 合并支付 ↓↓↓ -->
  227. <LinearLayout
  228. android:id="@+id/bdp_merge_pay_layout"
  229. android:layout_width="match_parent"
  230. android:layout_height="38dp"
  231. android:background="#f5f5f5"
  232. android:paddingRight="15dp" >
  233. <TextView
  234. android:id="@+id/bdp_add_amount"
  235. android:layout_width="match_parent"
  236. android:layout_height="38dp"
  237. android:gravity="right|center_vertical"
  238. android:text="@string/bdp_paycenter_add_amount_pay"
  239. android:textColor="@color/bdp_color_999999"
  240. android:textSize="@dimen/bdp_paycenter_text_size_14_sp" />
  241. </LinearLayout>
  242. <!-- ↑↑↑ 合并支付 ↑↑↑ -->
  243. <!-- ↓↓↓ 非合并支付 ↓↓↓ -->
  244. <LinearLayout
  245. android:id="@+id/bdp_non_merge_pay_layout"
  246. android:layout_width="match_parent"
  247. android:layout_height="wrap_content"
  248. android:background="#f5f5f5"
  249. android:orientation="vertical" >
  250. <LinearLayout
  251. android:id="@+id/bdp_other_payment_layout"
  252. android:layout_width="match_parent"
  253. android:layout_height="30dp"
  254. android:layout_marginTop="10dp"
  255. android:background="#ffffff"
  256. android:gravity="center_vertical" >
  257. <TextView
  258. android:layout_width="0dip"
  259. android:layout_height="wrap_content"
  260. android:layout_marginLeft="15dp"
  261. android:layout_marginRight="5dip"
  262. android:layout_weight="1"
  263. android:text="@string/bdp_paycenter_pay_mode_select"
  264. android:textColor="#333333" />
  265. <ImageView
  266. android:id="@+id/bdp_more_payment_drop"
  267. android:layout_width="15dp"
  268. android:layout_height="8dp"
  269. android:layout_marginRight="15dp"
  270. android:contentDescription="@string/bdp_image"
  271. android:scaleType="centerInside"
  272. android:src="@drawable/bdp_drop_down_selector" />
  273. </LinearLayout>
  274. <Button
  275. android:id="@+id/bdp_non_merge_pay"
  276. android:layout_width="270dp"
  277. android:layout_height="39dp"
  278. android:layout_gravity="center_horizontal"
  279. android:layout_marginTop="25dp"
  280. android:background="@drawable/bdp_paycenter_btn_pay_confirm_selector"
  281. android:text="@string/bdp_paycenter_pay"
  282. android:textColor="@color/bdp_white"
  283. android:textSize="@dimen/bdp_paycenter_text_size_16_sp" />
  284. </LinearLayout>
  285. <!-- ↑↑↑ 合并支付 ↑↑↑ -->
  286. </LinearLayout>