fragment_guide_resource_search.xml 7.0 KB

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