Advertisement
Guest User

Untitled

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