Advertisement
anburoid

post job

Aug 31st, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.60 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3. android:layout_height="match_parent"
  4. android:background="#fff"
  5. android:orientation="vertical"
  6. tools:context="com.freelance.PostJob">
  7.  
  8. <include layout="@layout/app_bar" />
  9.  
  10.  
  11. <LinearLayout
  12. android:layout_width="fill_parent"
  13. android:weightSum="1"
  14. android:background="#fff"
  15. android:orientation="vertical"
  16. android:layout_height="fill_parent"
  17. android:paddingLeft="10dp"
  18. android:paddingRight="10dp"
  19. android:paddingBottom="10dp">
  20.  
  21.  
  22. <LinearLayout
  23. android:layout_width="fill_parent"
  24. android:layout_weight="0.07"
  25. android:layout_height="0dp"
  26. android:gravity="center_horizontal">
  27.  
  28.  
  29. <TextView
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:text="WHAT BUDGET DO YOU HAVE IN MIND?"
  33. android:layout_gravity="center"
  34. android:id="@+id/textView8"
  35. android:textSize="18dp"
  36. android:textColor="@color/blue_color" />
  37. </LinearLayout>
  38. <LinearLayout
  39. android:layout_width="fill_parent"
  40. android:layout_weight="0.075"
  41. android:orientation="horizontal"
  42. android:layout_height="0dp"
  43. android:weightSum="1">
  44.  
  45. <LinearLayout
  46. android:layout_width="0dp"
  47. android:layout_weight="0.5"
  48. android:background="@drawable/text_box"
  49. android:layout_height="wrap_content"
  50. android:layout_marginLeft="22dp">
  51. <Button
  52. android:layout_width="fill_parent"
  53. android:layout_height="wrap_content"
  54. android:background="@drawable/choice"
  55. android:text="Hire for fixed price"
  56. android:id="@+id/button3"
  57. android:textColor="#fff" />
  58. </LinearLayout>
  59. <LinearLayout
  60. android:layout_width="0dp"
  61. android:layout_weight="0.5"
  62. android:layout_height="wrap_content">
  63. <Button
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:background="@drawable/text_box"
  67. android:text="Hire for hour"
  68. android:id="@+id/button4"
  69. android:layout_marginRight="26dp"
  70. android:textColor="#e79a9a9a" /></LinearLayout>
  71. </LinearLayout>
  72.  
  73.  
  74. <LinearLayout
  75. android:layout_width="fill_parent"
  76. android:layout_weight="0.1"
  77. android:layout_height="0dp"
  78. android:weightSum="1"
  79. android:orientation="horizontal"
  80. android:gravity="center_horizontal">
  81.  
  82.  
  83. <LinearLayout
  84. android:layout_width="0dp"
  85. android:layout_weight="0.5"
  86. android:layout_height="fill_parent">
  87.  
  88. <Spinner
  89. android:layout_width="match_parent"
  90. android:layout_height="match_parent"
  91. android:id="@+id/spinner2"
  92. android:spinnerMode="dropdown"
  93. android:layout_alignParentStart="true"
  94. android:layout_alignParentLeft="true"
  95.  
  96. android:prompt="@string/category_prompt"
  97. android:entries="@array/selectCategory"
  98. android:layout_weight="1" />
  99. </LinearLayout>
  100. <LinearLayout
  101. android:layout_width="0dp"
  102. android:layout_weight="0.5"
  103. android:layout_height="fill_parent">
  104.  
  105. <Spinner
  106. android:layout_width="match_parent"
  107. android:layout_height="match_parent"
  108. android:prompt="@string/category_prompt"
  109. android:spinnerMode="dialog"
  110. android:entries="@array/selectCategory"
  111. android:id="@+id/spinner3"
  112. android:layout_weight="1" />
  113. </LinearLayout>
  114. </LinearLayout>
  115.  
  116.  
  117. <LinearLayout
  118. android:layout_width="fill_parent"
  119. android:layout_weight="0.1"
  120. android:layout_height="0dp">
  121.  
  122. <Spinner
  123. android:layout_width="match_parent"
  124. android:layout_height="match_parent"
  125. android:id="@+id/spinner4"
  126. android:spinnerMode="dialog"
  127. android:prompt="@string/category_prompt"
  128. android:entries="@array/selectCategory"
  129. android:layout_weight="1" />
  130. </LinearLayout>
  131. <LinearLayout
  132. android:layout_width="fill_parent"
  133. android:layout_weight="0.002"
  134. android:layout_height="0dp"></LinearLayout>
  135. <LinearLayout
  136. android:layout_width="fill_parent"
  137. android:layout_weight="0.065"
  138. android:id="@+id/custom_budget"
  139. android:layout_height="0dp">
  140.  
  141. <RelativeLayout
  142. android:layout_width="match_parent"
  143. android:visibility="visible"
  144.  
  145. android:layout_height="match_parent">
  146.  
  147. <TextView
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:text="Min Budget :"
  151. android:gravity="center_vertical"
  152. android:id="@+id/textView15"
  153. android:layout_centerVertical="true"
  154. android:layout_alignParentLeft="true"
  155. android:layout_alignParentStart="true" />
  156.  
  157. <EditText
  158. android:layout_width="55dp"
  159. android:layout_height="wrap_content"
  160. android:id="@+id/textView16"
  161. android:layout_centerVertical="true"
  162. android:layout_toRightOf="@+id/textView15"
  163. android:layout_toEndOf="@+id/textView15" />
  164.  
  165. <TextView
  166. android:layout_width="wrap_content"
  167. android:layout_height="wrap_content"
  168. android:text="Max Budget :"
  169. android:id="@+id/textView17"
  170. android:layout_centerVertical="true"
  171. android:layout_toRightOf="@+id/textView16"
  172. android:layout_toEndOf="@+id/textView16"
  173. android:layout_marginLeft="45dp" />
  174.  
  175. <EditText
  176. android:layout_width="55dp"
  177. android:layout_height="wrap_content"
  178. android:id="@+id/textView18"
  179. android:layout_centerVertical="true"
  180. android:layout_toRightOf="@+id/textView17"
  181. android:layout_toEndOf="@+id/textView17" />
  182. </RelativeLayout>
  183.  
  184. </LinearLayout>
  185. <LinearLayout
  186. android:layout_width="fill_parent"
  187. android:layout_weight="0.02"
  188. android:layout_height="0dp"></LinearLayout>
  189. <RelativeLayout
  190. android:layout_width="fill_parent"
  191. android:layout_weight="0.24"
  192. android:layout_height="0dp"
  193. android:weightSum="1"
  194. android:orientation="horizontal">
  195.  
  196.  
  197.  
  198. <TextView
  199. android:layout_width="wrap_content"
  200. android:layout_height="wrap_content"
  201. android:text="Hours of work required"
  202. android:id="@+id/textView9"
  203. android:layout_marginBottom="10dp" />
  204.  
  205. <EditText
  206. android:layout_width="55dp"
  207. android:layout_height="wrap_content"
  208. android:inputType="number"
  209. android:ems="10"
  210. android:id="@+id/editText"
  211. android:layout_below="@+id/textView9"
  212. android:layout_alignParentLeft="true"
  213. android:layout_alignParentStart="true"
  214. android:textColor="#000" />
  215.  
  216. <TextView
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:id="@+id/editText2"
  220. android:text="Hours per"
  221. android:layout_alignBottom="@+id/editText"
  222. android:layout_toRightOf="@+id/editText"
  223. android:layout_toEndOf="@+id/editText" />
  224.  
  225. <Spinner
  226. android:layout_width="120dp"
  227. android:layout_height="wrap_content"
  228. android:id="@+id/spinner5"
  229. android:entries="@array/selecthour"
  230. android:layout_toRightOf="@+id/editText2"
  231. android:layout_alignBottom="@+id/editText"
  232. android:layout_below="@+id/textView9" />
  233. <LinearLayout
  234. android:layout_width="wrap_content"
  235. android:layout_alignParentBottom="true"
  236. android:layout_alignParentLeft="true"
  237. android:layout_alignParentStart="true"
  238. android:background="@drawable/text_box"
  239. android:layout_alignRight="@+id/textView9"
  240. android:layout_alignEnd="@+id/textView9"
  241. android:layout_height="40dp">
  242. <Button
  243. android:layout_width="match_parent"
  244. android:layout_height="40dp"
  245. android:text="Not Sure"
  246. android:id="@+id/button5"
  247. android:background="@drawable/choice"
  248. android:textColor="#fff" />
  249. </LinearLayout>
  250. </RelativeLayout>
  251. <LinearLayout
  252. android:layout_width="fill_parent"
  253. android:layout_weight="0.015"
  254. android:layout_height="0dp"
  255. android:gravity="center_horizontal"></LinearLayout>
  256.  
  257. <LinearLayout
  258. android:layout_width="fill_parent"
  259. android:layout_weight="0.23"
  260. android:weightSum="1"
  261. android:orientation="vertical"
  262. android:layout_height="0dp">
  263.  
  264. <LinearLayout
  265. android:layout_width="match_parent"
  266. android:layout_weight="0.2"
  267. android:layout_height="0dp">
  268.  
  269.  
  270. <TextView
  271. android:layout_width="wrap_content"
  272. android:layout_height="wrap_content"
  273. android:text="Get the best for your job (optional)"
  274. android:id="@+id/textView10" />
  275. </LinearLayout>
  276.  
  277. <LinearLayout
  278. android:layout_width="match_parent"
  279. android:layout_weight="0.8"
  280. android:weightSum="9"
  281. android:layout_height="0dp">
  282.  
  283. <LinearLayout
  284. android:layout_width="0dp"
  285. android:layout_weight="3"
  286. android:padding="10dp"
  287. android:layout_height="match_parent"
  288. android:background="@color/color_white">
  289.  
  290. <include layout="@layout/inflate_postjob"></include>
  291.  
  292. </LinearLayout>
  293.  
  294.  
  295. <LinearLayout
  296. android:layout_width="0dp"
  297. android:layout_weight="3"
  298. android:padding="10dp"
  299. android:layout_height="match_parent">
  300.  
  301. <include layout="@layout/inflate_postjob"></include>
  302.  
  303. </LinearLayout>
  304.  
  305. <LinearLayout
  306. android:layout_width="0dp"
  307. android:layout_weight="3"
  308. android:padding="10dp"
  309. android:layout_height="match_parent">
  310.  
  311. <include layout="@layout/inflate_postjob"></include>
  312.  
  313. </LinearLayout>
  314.  
  315.  
  316.  
  317. </LinearLayout>
  318.  
  319. </LinearLayout>
  320.  
  321. <LinearLayout
  322. android:layout_width="fill_parent"
  323. android:layout_weight="0.07"
  324. android:gravity="bottom|center"
  325. android:layout_height="0dp"
  326. android:weightSum="1">
  327.  
  328. <Button
  329. android:layout_width="wrap_content"
  330. android:layout_height="wrap_content"
  331. android:text="POST JOB NOW"
  332. android:id="@+id/button6"
  333. android:background="@drawable/postjobbtn"
  334. android:textColor="#fff"
  335. android:layout_weight="0.10" />
  336. </LinearLayout>
  337.  
  338.  
  339. </LinearLayout>
  340.  
  341. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement