popup_add_daily_payment.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:layout_marginStart="@dimen/common_padding_huge"
  7. android:layout_marginEnd="@dimen/common_padding_huge"
  8. android:background="@drawable/shape_corner_white"
  9. android:orientation="vertical"
  10. tools:viewBindingIgnore="true">
  11. <LinearLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginStart="@dimen/common_padding_heavy"
  15. android:layout_marginTop="@dimen/common_padding_huge"
  16. android:layout_marginEnd="@dimen/common_padding_heavy"
  17. android:orientation="vertical">
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:layout_marginTop="@dimen/common_padding"
  22. android:orientation="horizontal">
  23. <TextView
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_gravity="center"
  27. android:text="@string/payment_name"
  28. android:textSize="@dimen/text_size_medium" />
  29. <EditText
  30. android:id="@+id/left_text"
  31. android:layout_width="0dp"
  32. android:layout_height="wrap_content"
  33. android:layout_marginStart="@dimen/common_padding"
  34. android:layout_weight="1"
  35. android:background="@color/white"
  36. android:gravity="end"
  37. android:hint="@string/please_input"
  38. android:importantForAutofill="no"
  39. android:inputType="text"
  40. android:singleLine="true"
  41. android:textColor="@color/text_color"
  42. android:textColorHint="@color/hint_text_color"
  43. android:textSize="@dimen/text_size_medium" />
  44. </LinearLayout>
  45. <View
  46. android:layout_width="match_parent"
  47. android:layout_height="@dimen/line"
  48. android:layout_marginTop="@dimen/common_padding_huge"
  49. android:layout_marginBottom="@dimen/common_padding"
  50. android:background="@color/line_color" />
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_marginTop="@dimen/common_padding"
  55. android:orientation="horizontal">
  56. <TextView
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:layout_gravity="center"
  60. android:text="@string/payment_counts"
  61. android:textSize="@dimen/text_size_medium" />
  62. <EditText
  63. android:id="@+id/payment_item_counts"
  64. android:layout_width="0dp"
  65. android:layout_height="wrap_content"
  66. android:layout_marginStart="@dimen/common_padding"
  67. android:layout_weight="1"
  68. android:background="@color/white"
  69. android:gravity="end"
  70. android:hint="@string/please_input"
  71. android:importantForAutofill="no"
  72. android:inputType="numberDecimal"
  73. android:singleLine="true"
  74. android:textColor="@color/text_color"
  75. android:textColorHint="@color/hint_text_color"
  76. android:textSize="@dimen/text_size_medium" />
  77. </LinearLayout>
  78. <View
  79. android:layout_width="match_parent"
  80. android:layout_height="@dimen/line"
  81. android:layout_marginTop="@dimen/common_padding_huge"
  82. android:layout_marginBottom="@dimen/common_padding"
  83. android:background="@color/line_color" />
  84. <LinearLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:layout_marginTop="@dimen/common_padding"
  88. android:orientation="horizontal">
  89. <TextView
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:layout_gravity="center"
  93. android:text="@string/price"
  94. android:textSize="@dimen/text_size_medium" />
  95. <EditText
  96. android:id="@+id/right_text"
  97. android:layout_width="0dp"
  98. android:layout_height="wrap_content"
  99. android:layout_marginStart="@dimen/common_padding"
  100. android:layout_weight="1"
  101. android:background="@color/white"
  102. android:gravity="end"
  103. android:hint="@string/please_input"
  104. android:importantForAutofill="no"
  105. android:inputType="numberDecimal"
  106. android:singleLine="true"
  107. android:textColor="@color/text_color"
  108. android:textColorHint="@color/hint_text_color"
  109. android:textSize="@dimen/text_size_medium" />
  110. </LinearLayout>
  111. <View
  112. android:layout_width="match_parent"
  113. android:layout_height="@dimen/line"
  114. android:layout_marginTop="@dimen/common_padding_huge"
  115. android:layout_marginBottom="@dimen/common_padding"
  116. android:background="@color/line_color" />
  117. <LinearLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_marginTop="@dimen/common_padding"
  121. android:orientation="vertical">
  122. <TextView
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:text="@string/notes"
  126. android:textSize="@dimen/text_size_medium" />
  127. <com.pan_american.android.util.ScrollEditText
  128. android:id="@+id/payment_remark"
  129. android:layout_width="match_parent"
  130. android:layout_height="120dp"
  131. android:layout_marginTop="@dimen/common_padding" />
  132. </LinearLayout>
  133. <View
  134. android:layout_width="match_parent"
  135. android:layout_height="@dimen/line"
  136. android:layout_marginTop="@dimen/common_padding_huge"
  137. android:layout_marginBottom="@dimen/common_padding"
  138. android:background="@color/line_color" />
  139. <LinearLayout
  140. android:layout_width="match_parent"
  141. android:layout_height="wrap_content"
  142. android:layout_margin="@dimen/common_padding"
  143. android:orientation="horizontal">
  144. <TextView
  145. android:id="@+id/commit"
  146. android:layout_width="0dp"
  147. android:layout_height="@dimen/button_height"
  148. android:layout_gravity="center"
  149. android:layout_margin="@dimen/common_padding"
  150. android:layout_weight="1"
  151. android:background="@drawable/shape_corner_solid_blue"
  152. android:gravity="center"
  153. android:text="@string/confirm"
  154. android:textColor="@color/white"
  155. android:textSize="@dimen/text_size_large"
  156. android:textStyle="bold" />
  157. </LinearLayout>
  158. </LinearLayout>
  159. </LinearLayout>