item_apy.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="match_parent"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_height="wrap_content">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:padding="@dimen/dp_10"
  10. android:orientation="vertical"
  11. android:gravity="center"
  12. android:layout_height="wrap_content">
  13. <TextView
  14. android:id="@+id/tv_title"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_centerHorizontal="true"
  18. android:textColor="#333333"
  19. android:text="输入支付密码"/>
  20. <com.quansu.heifengwuliu.view.PasswordView
  21. android:id="@+id/ppet"
  22. android:layout_below="@+id/tv_title"
  23. android:layout_width="match_parent"
  24. app:cipherEnable="true"
  25. android:layout_marginTop="30dp"
  26. android:layout_centerInParent="true"
  27. app:passwordLength="6"
  28. app:smode="rect"
  29. android:layout_height="45dp">
  30. </com.quansu.heifengwuliu.view.PasswordView>
  31. <View
  32. android:layout_width="match_parent"
  33. android:layout_weight="1"
  34. android:layout_height="0dp"></View>
  35. <LinearLayout
  36. android:layout_width="match_parent"
  37. android:layout_marginBottom="@dimen/dp_10"
  38. android:orientation="horizontal"
  39. android:paddingStart="@dimen/dp_20"
  40. android:paddingEnd="@dimen/dp_20"
  41. android:layout_height="wrap_content">
  42. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
  43. android:id="@+id/but_cancel"
  44. android:layout_width="0dp"
  45. android:layout_weight="1"
  46. android:layout_marginEnd="@dimen/dp_20"
  47. app:qmui_radius="@dimen/dp_4"
  48. android:text="取消"
  49. app:qmui_borderColor="@color/blue_1"
  50. android:textColor="@color/blue_1"
  51. android:layout_height="40dp">
  52. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
  53. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
  54. android:id="@+id/tv_sure"
  55. android:layout_width="0dp"
  56. android:layout_weight="1"
  57. android:text="确定"
  58. android:textColor="@color/white"
  59. app:qmui_radius="@dimen/dp_4"
  60. app:qmui_backgroundColor="@color/blue_1"
  61. app:qmui_borderColor="@color/blue_1"
  62. android:layout_height="40dp">
  63. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
  64. </LinearLayout>
  65. </LinearLayout>
  66. </LinearLayout>