fragment_service_resource_search.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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="match_parent"
  6. android:background="@color/white"
  7. android:orientation="vertical"
  8. tools:context=".ui.resource_management.service_resource.ServiceResourceSearchFragment">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_marginStart="@dimen/common_padding_heavy"
  13. android:layout_marginTop="@dimen/common_padding_huge"
  14. android:layout_marginEnd="@dimen/common_padding_heavy"
  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:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_gravity="center"
  25. android:text="@string/supplier_type"
  26. android:textSize="@dimen/text_size_medium" />
  27. <TextView
  28. android:layout_width="0dp"
  29. android:layout_height="wrap_content"
  30. android:layout_marginStart="@dimen/common_padding"
  31. android:layout_weight="1"
  32. android:gravity="end"
  33. android:singleLine="true"
  34. android:text="@string/all"
  35. android:textSize="@dimen/text_size_medium" />
  36. </LinearLayout>
  37. <View
  38. android:layout_width="match_parent"
  39. android:layout_height="@dimen/line"
  40. android:layout_marginTop="@dimen/common_padding_huge"
  41. android:layout_marginBottom="@dimen/common_padding"
  42. android:background="@color/line_color" />
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:layout_marginTop="@dimen/common_padding"
  47. android:orientation="horizontal">
  48. <TextView
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_gravity="center"
  52. android:text="@string/city"
  53. android:textSize="@dimen/text_size_medium" />
  54. <TextView
  55. android:layout_width="0dp"
  56. android:layout_height="wrap_content"
  57. android:layout_marginStart="@dimen/common_padding"
  58. android:layout_weight="1"
  59. android:background="@color/white"
  60. android:gravity="end"
  61. android:hint="@string/please_select"
  62. android:singleLine="true"
  63. android:textColorHint="@color/hint_text_color"
  64. android:textSize="@dimen/text_size_medium" />
  65. </LinearLayout>
  66. <View
  67. android:layout_width="match_parent"
  68. android:layout_height="@dimen/line"
  69. android:layout_marginTop="@dimen/common_padding_huge"
  70. android:layout_marginBottom="@dimen/common_padding"
  71. android:background="@color/line_color" />
  72. <LinearLayout
  73. android:layout_width="match_parent"
  74. android:layout_height="wrap_content"
  75. android:layout_marginTop="@dimen/common_padding"
  76. android:orientation="horizontal">
  77. <TextView
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_gravity="center"
  81. android:text="@string/supplier_name"
  82. android:textSize="@dimen/text_size_medium" />
  83. <EditText
  84. android:id="@+id/supplier_name"
  85. android:layout_width="0dp"
  86. android:layout_height="wrap_content"
  87. android:layout_marginStart="@dimen/common_padding"
  88. android:layout_weight="1"
  89. android:background="@color/white"
  90. android:gravity="end"
  91. android:hint="@string/please_input"
  92. android:importantForAutofill="no"
  93. android:inputType="text"
  94. android:singleLine="true"
  95. android:textColorHint="@color/hint_text_color"
  96. android:textSize="@dimen/text_size_medium" />
  97. </LinearLayout>
  98. <View
  99. android:layout_width="match_parent"
  100. android:layout_height="@dimen/line"
  101. android:layout_marginTop="@dimen/common_padding_huge"
  102. android:layout_marginBottom="@dimen/common_padding"
  103. android:background="@color/line_color" />
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:layout_marginTop="@dimen/common_padding"
  108. android:orientation="horizontal">
  109. <TextView
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:layout_gravity="center"
  113. android:text="@string/contacts"
  114. android:textSize="@dimen/text_size_medium" />
  115. <EditText
  116. android:id="@+id/contacts_name"
  117. android:layout_width="0dp"
  118. android:layout_height="wrap_content"
  119. android:layout_marginStart="@dimen/common_padding"
  120. android:layout_weight="1"
  121. android:background="@color/white"
  122. android:gravity="end"
  123. android:hint="@string/please_input"
  124. android:importantForAutofill="no"
  125. android:inputType="text"
  126. android:singleLine="true"
  127. android:textColorHint="@color/hint_text_color"
  128. android:textSize="@dimen/text_size_medium" />
  129. </LinearLayout>
  130. <View
  131. android:layout_width="match_parent"
  132. android:layout_height="@dimen/line"
  133. android:layout_marginTop="@dimen/common_padding_huge"
  134. android:layout_marginBottom="@dimen/common_padding"
  135. android:background="@color/line_color" />
  136. </LinearLayout>
  137. <LinearLayout
  138. android:layout_width="match_parent"
  139. android:layout_height="wrap_content"
  140. android:layout_margin="@dimen/common_padding_huge"
  141. android:orientation="horizontal">
  142. <TextView
  143. android:id="@+id/commit"
  144. android:layout_width="match_parent"
  145. android:layout_height="@dimen/button_height"
  146. android:layout_marginBottom="50dp"
  147. android:background="@drawable/shape_corner_solid_blue"
  148. android:gravity="center"
  149. android:text="@string/confirm"
  150. android:textColor="@color/white"
  151. android:textSize="@dimen/text_size_large"
  152. android:textStyle="bold" />
  153. </LinearLayout>
  154. </LinearLayout>