Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.95 KB | None | 0 0
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. tools:context="com.findyourpetapp.findyourpetapp.NewAd">
  7.  
  8. <!-- TODO: Update blank fragment layout -->
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="vertical">
  14.  
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="50dp"
  18. android:orientation="vertical">
  19.  
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. android:orientation="horizontal">
  24.  
  25. <TextView
  26. android:id="@+id/textView1"
  27. android:layout_width="258dp"
  28. android:layout_height="wrap_content"
  29. android:layout_weight="1"
  30. android:paddingLeft="5dp"
  31. android:paddingTop="15dp"
  32. android:text="Вид животного"
  33. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  34.  
  35. <Spinner
  36. android:id="@+id/spinner_type1"
  37. android:layout_width="match_parent"
  38. android:layout_height="50dp"
  39. android:layout_weight="1" />
  40. </LinearLayout>
  41.  
  42. </LinearLayout>
  43.  
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="50dp"
  47. android:orientation="vertical">
  48.  
  49. <LinearLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="match_parent"
  52. android:orientation="horizontal">
  53.  
  54. <TextView
  55. android:id="@+id/textView2"
  56. android:layout_width="137dp"
  57. android:layout_height="30dp"
  58. android:layout_weight="1"
  59. android:paddingLeft="5dp"
  60. android:text="Порода"
  61. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  62.  
  63. <EditText
  64. android:id="@+id/editText_race"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_weight="1"
  68. android:ems="10"
  69. android:inputType="textPersonName" />
  70.  
  71. </LinearLayout>
  72.  
  73. </LinearLayout>
  74.  
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="50dp"
  78. android:orientation="vertical">
  79.  
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="match_parent"
  83. android:orientation="horizontal">
  84.  
  85. <TextView
  86. android:id="@+id/textView3"
  87. android:layout_width="139dp"
  88. android:layout_height="wrap_content"
  89. android:layout_weight="1"
  90. android:paddingLeft="5dp"
  91. android:paddingTop="15dp"
  92. android:text="Пол"
  93. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  94.  
  95. <Spinner
  96. android:id="@+id/spinner_sex"
  97. android:layout_width="match_parent"
  98. android:layout_height="50dp"
  99. android:layout_weight="1" />
  100. </LinearLayout>
  101.  
  102. </LinearLayout>
  103.  
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="50dp"
  107. android:orientation="vertical">
  108.  
  109. <LinearLayout
  110. android:layout_width="match_parent"
  111. android:layout_height="match_parent"
  112. android:orientation="horizontal">
  113.  
  114. <TextView
  115. android:id="@+id/textView6"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:layout_weight="1"
  119. android:paddingLeft="5dp"
  120. android:text="Возраст"
  121. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  122.  
  123. <EditText
  124. android:id="@+id/editText_age"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_weight="1"
  128. android:ems="10"
  129. android:inputType="number" />
  130. </LinearLayout>
  131.  
  132. </LinearLayout>
  133.  
  134. <LinearLayout
  135. android:layout_width="match_parent"
  136. android:layout_height="50dp"
  137. android:orientation="vertical">
  138.  
  139. <LinearLayout
  140. android:layout_width="match_parent"
  141. android:layout_height="match_parent"
  142. android:orientation="horizontal">
  143.  
  144. <TextView
  145. android:id="@+id/textView7"
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:layout_weight="1"
  149. android:paddingLeft="5dp"
  150. android:text="Вознаграждение"
  151. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  152.  
  153. <EditText
  154. android:id="@+id/editText_money"
  155. android:layout_width="wrap_content"
  156. android:layout_height="wrap_content"
  157. android:layout_weight="1"
  158. android:ems="10"
  159. android:inputType="number" />
  160. </LinearLayout>
  161.  
  162. </LinearLayout>
  163.  
  164. <LinearLayout
  165. android:layout_width="match_parent"
  166. android:layout_height="50dp"
  167. android:orientation="vertical">
  168.  
  169. <LinearLayout
  170. android:layout_width="match_parent"
  171. android:layout_height="match_parent"
  172. android:layout_weight="1"
  173. android:orientation="horizontal">
  174.  
  175. <TextView
  176. android:id="@+id/textView8"
  177. android:layout_width="160dp"
  178. android:layout_height="20dp"
  179. android:layout_weight="1"
  180. android:paddingLeft="5dp"
  181. android:text="Описание"
  182. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  183.  
  184. <EditText
  185. android:id="@+id/editText_description"
  186. android:layout_width="match_parent"
  187. android:layout_height="50dp"
  188. android:layout_weight="1"
  189. android:ems="10"
  190. android:inputType="textMultiLine" />
  191. </LinearLayout>
  192.  
  193. </LinearLayout>
  194.  
  195. <LinearLayout
  196. android:layout_width="match_parent"
  197. android:layout_height="50dp"
  198. android:orientation="vertical">
  199.  
  200. <LinearLayout
  201. android:layout_width="match_parent"
  202. android:layout_height="match_parent"
  203. android:layout_weight="1"
  204. android:orientation="horizontal">
  205.  
  206. <TextView
  207. android:id="@+id/textView9"
  208. android:layout_width="11dp"
  209. android:layout_height="wrap_content"
  210. android:layout_weight="1"
  211. android:paddingLeft="5dp"
  212. android:text="Выбрать фото"
  213. android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
  214.  
  215. <ImageButton
  216. android:id="@+id/imageButton"
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:layout_weight="1"
  220. android:src="@drawable/ic_menu_gallery" />
  221.  
  222. </LinearLayout>
  223.  
  224. </LinearLayout>
  225.  
  226. <LinearLayout
  227. android:layout_width="match_parent"
  228. android:layout_height="match_parent"
  229. android:orientation="vertical">
  230.  
  231. <Button
  232. android:id="@+id/button2"
  233. android:layout_width="match_parent"
  234. android:layout_height="wrap_content"
  235. android:text="Указать местоположение и разместить объявление" />
  236. </LinearLayout>
  237.  
  238. </LinearLayout>
  239.  
  240. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement