item_visa_payment.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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_marginTop="@dimen/common_padding"
  7. android:layout_marginBottom="@dimen/common_padding"
  8. android:background="@drawable/shape_corner_stroke_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_margin="@dimen/common_padding"
  15. android:orientation="vertical">
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_marginTop="@dimen/common_padding"
  20. android:orientation="horizontal">
  21. <TextView
  22. android:id="@+id/visa_client"
  23. android:layout_width="0dp"
  24. android:layout_height="wrap_content"
  25. android:layout_marginEnd="@dimen/common_padding_huge"
  26. android:layout_weight="1"
  27. android:ellipsize="marquee"
  28. android:maxLines="1"
  29. android:textColor="@color/text_color_blue"
  30. android:textSize="@dimen/text_size_medium"
  31. android:textStyle="bold" />
  32. <ImageView
  33. android:id="@+id/delete"
  34. android:layout_width="@dimen/common_padding_heavy"
  35. android:layout_height="@dimen/common_padding_heavy"
  36. android:layout_marginEnd="@dimen/common_padding"
  37. android:src="@mipmap/icon_delete"
  38. tools:ignore="ContentDescription" />
  39. </LinearLayout>
  40. <View
  41. android:layout_width="match_parent"
  42. android:layout_height="@dimen/line"
  43. android:layout_marginTop="@dimen/common_padding"
  44. android:layout_marginBottom="@dimen/common_padding"
  45. android:background="@color/line_color" />
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="@dimen/common_padding"
  50. android:baselineAligned="false"
  51. android:orientation="horizontal">
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_gravity="center"
  56. android:text="@string/visa_price"
  57. android:textSize="@dimen/text_size_medium" />
  58. <TextView
  59. android:id="@+id/visa_price"
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:layout_marginStart="@dimen/common_padding"
  63. android:background="@color/white"
  64. android:gravity="end"
  65. android:singleLine="true"
  66. android:textSize="@dimen/text_size_medium" />
  67. </LinearLayout>
  68. <View
  69. android:layout_width="match_parent"
  70. android:layout_height="@dimen/line"
  71. android:layout_marginTop="@dimen/common_padding_huge"
  72. android:layout_marginBottom="@dimen/common_padding"
  73. android:background="@color/line_color" />
  74. <LinearLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:layout_marginTop="@dimen/common_padding"
  78. android:baselineAligned="false"
  79. android:orientation="horizontal">
  80. <TextView
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_gravity="center"
  84. android:text="@string/visa_handle_number"
  85. android:textSize="@dimen/text_size_medium" />
  86. <TextView
  87. android:id="@+id/visa_number"
  88. android:layout_width="match_parent"
  89. android:layout_height="wrap_content"
  90. android:layout_marginStart="@dimen/common_padding"
  91. android:background="@color/white"
  92. android:gravity="end"
  93. android:singleLine="true"
  94. android:textSize="@dimen/text_size_medium" />
  95. </LinearLayout>
  96. <View
  97. android:layout_width="match_parent"
  98. android:layout_height="@dimen/line"
  99. android:layout_marginTop="@dimen/common_padding_huge"
  100. android:layout_marginBottom="@dimen/common_padding"
  101. android:background="@color/line_color" />
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_marginTop="@dimen/common_padding"
  106. android:orientation="horizontal">
  107. <TextView
  108. android:layout_width="wrap_content"
  109. android:layout_height="match_parent"
  110. android:layout_gravity="center"
  111. android:text="@string/visa_exemption_number"
  112. android:textSize="@dimen/text_size_medium" />
  113. <TextView
  114. android:id="@+id/visa_free_number"
  115. android:layout_width="0dp"
  116. android:layout_height="wrap_content"
  117. android:layout_marginStart="@dimen/common_padding"
  118. android:layout_weight="1"
  119. android:background="@color/white"
  120. android:gravity="end"
  121. android:singleLine="true"
  122. android:textSize="@dimen/text_size_medium" />
  123. </LinearLayout>
  124. <View
  125. android:layout_width="match_parent"
  126. android:layout_height="@dimen/line"
  127. android:layout_marginTop="@dimen/common_padding_huge"
  128. android:layout_marginBottom="@dimen/common_padding"
  129. android:background="@color/line_color" />
  130. <LinearLayout
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_marginTop="@dimen/common_padding"
  134. android:orientation="horizontal">
  135. <TextView
  136. android:layout_width="wrap_content"
  137. android:layout_height="wrap_content"
  138. android:layout_gravity="center"
  139. android:text="@string/is_agent"
  140. android:textSize="@dimen/text_size_medium" />
  141. <TextView
  142. android:id="@+id/is_third"
  143. android:layout_width="0dp"
  144. android:layout_height="wrap_content"
  145. android:layout_marginStart="@dimen/common_padding"
  146. android:layout_weight="1"
  147. android:background="@color/white"
  148. android:gravity="end"
  149. android:singleLine="true"
  150. android:textSize="@dimen/text_size_medium" />
  151. </LinearLayout>
  152. <View
  153. android:layout_width="match_parent"
  154. android:layout_height="@dimen/line"
  155. android:layout_marginTop="@dimen/common_padding_huge"
  156. android:layout_marginBottom="@dimen/common_padding"
  157. android:background="@color/line_color" />
  158. <LinearLayout
  159. android:layout_width="match_parent"
  160. android:layout_height="wrap_content"
  161. android:layout_marginTop="@dimen/common_padding"
  162. android:layout_marginBottom="@dimen/common_padding_huge"
  163. android:orientation="horizontal">
  164. <TextView
  165. android:layout_width="wrap_content"
  166. android:layout_height="match_parent"
  167. android:layout_gravity="center"
  168. android:text="@string/is_verify"
  169. android:textSize="@dimen/text_size_medium" />
  170. <TextView
  171. android:id="@+id/is_verify"
  172. android:layout_width="match_parent"
  173. android:layout_height="wrap_content"
  174. android:layout_marginStart="@dimen/common_padding"
  175. android:background="@color/white"
  176. android:gravity="end"
  177. android:singleLine="true"
  178. android:textSize="@dimen/text_size_medium" />
  179. </LinearLayout>
  180. </LinearLayout>
  181. </LinearLayout>