bdp_paycenter_view_custom_pay.xml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/bdp_paycenter_layout_balance_pay"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:background="#ffffff"
  7. android:orientation="vertical" >
  8. <RelativeLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="40dp"
  11. android:layout_gravity="center"
  12. android:gravity="center_vertical"
  13. android:paddingBottom="4dp"
  14. android:layout_marginLeft="15dp"
  15. android:layout_marginRight="15dp"
  16. android:paddingTop="4dp" >
  17. <LinearLayout
  18. android:id="@+id/bdp_paycenter_layout_use_balance"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_alignBottom="@+id/bdp_paycenter_et_input_number"
  22. android:layout_alignParentLeft="true"
  23. android:layout_alignTop="@+id/bdp_paycenter_et_input_number"
  24. android:gravity="center" >
  25. <TextView
  26. android:id="@+id/bdp_paycenter_tv_use_balance"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:text="@string/bdp_paycenter_tips_use"
  30. android:textColor="@color/bdp_color_999999"
  31. android:textSize="14sp" />
  32. </LinearLayout>
  33. <EditText
  34. android:id="@+id/bdp_paycenter_et_input_number"
  35. android:layout_width="match_parent"
  36. android:layout_height="36dp"
  37. android:layout_marginLeft="8dp"
  38. android:layout_marginRight="8dp"
  39. android:layout_toLeftOf="@+id/bdp_paycenter_layout_use_balance_type"
  40. android:layout_toRightOf="@+id/bdp_paycenter_layout_use_balance"
  41. android:background="@drawable/bdp_paycenter_amount_othermoney_bg"
  42. android:inputType="number"
  43. android:maxEms="6"
  44. android:maxLength="20"
  45. android:imeOptions="actionDone"
  46. android:paddingLeft="@dimen/bdp_paycenter_input_edit_text_left_padding"
  47. android:paddingRight="@dimen/bdp_paycenter_input_edit_text_left_padding"
  48. android:textColor="@color/bdp_color_999999"
  49. android:textColorHint="@color/bdp_color_999999"
  50. android:textSize="14sp" />
  51. <LinearLayout
  52. android:id="@+id/bdp_paycenter_layout_use_balance_type"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_alignBottom="@+id/bdp_paycenter_et_input_number"
  56. android:layout_alignParentRight="true"
  57. android:layout_alignTop="@+id/bdp_paycenter_et_input_number"
  58. android:gravity="center"
  59. android:orientation="vertical" >
  60. <TextView
  61. android:id="@+id/bdp_paycenter_tv_use_balance_type"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:text="@string/bdp_paycenter_pay_use_pay"
  65. android:textColor="@color/bdp_color_999999"
  66. android:textSize="14sp" />
  67. </LinearLayout>
  68. </RelativeLayout>
  69. <Button
  70. android:id="@+id/bdp_paycenter_btn_balance_pay"
  71. android:layout_width="match_parent"
  72. android:layout_height="38dp"
  73. android:layout_marginTop="8dp"
  74. android:background="@drawable/bdp_paycenter_btn_pay_confirm_selector"
  75. android:gravity="center"
  76. android:layout_marginLeft="15dp"
  77. android:layout_marginRight="15dp"
  78. android:text="@string/bdp_paycenter_btn_string_pay"
  79. android:textColor="#ffffff"
  80. android:textSize="@dimen/bdp_paycenter_text_size_16_sp" />
  81. </LinearLayout>