Advertisement
Guest User

lab exam xml

a guest
Oct 25th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/colorBlack"
  6. >
  7.  
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation="horizontal"
  12. >
  13.  
  14. <LinearLayout
  15. android:layout_width="0dp"
  16. android:layout_weight="1"
  17. android:layout_height="match_parent"
  18. android:orientation="vertical"
  19. >
  20.  
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="0dp"
  24. android:layout_weight="1"
  25. android:background="@color/colorPerrot"
  26. android:layout_marginLeft="5dp"
  27. android:layout_marginRight="5dp"
  28. android:layout_marginTop="5dp"
  29. >
  30.  
  31. <TextView
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:text="Me"
  35. android:layout_gravity="left|bottom"
  36. android:textSize="40dp"
  37. android:textColor="@color/colorWhite"
  38. />
  39.  
  40.  
  41. </LinearLayout>
  42.  
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="0dp"
  46. android:layout_weight="1"
  47. android:background="@drawable/pic_me"
  48. android:layout_marginLeft="5dp"
  49. android:layout_marginRight="5dp"
  50. >
  51.  
  52.  
  53. </LinearLayout>
  54.  
  55. <LinearLayout
  56. android:layout_width="match_parent"
  57. android:layout_height="0dp"
  58. android:layout_weight="1"
  59.  
  60. android:layout_margin="5dp"
  61. android:orientation="horizontal">
  62.  
  63. <LinearLayout
  64. android:layout_width="0dp"
  65. android:layout_marginRight="5px"
  66. android:layout_weight="1"
  67. android:background="@color/colorPerrot"
  68. android:layout_height="match_parent">
  69. <ImageView
  70. android:layout_width="match_parent"
  71. android:layout_height="match_parent"
  72. android:src="@drawable/pic2"/>
  73. </LinearLayout>
  74. <LinearLayout
  75. android:layout_width="0dp"
  76. android:layout_weight="1"
  77. android:layout_marginLeft="5px"
  78. android:background="@color/colorPerrot"
  79. android:layout_height="match_parent">
  80. <ImageView
  81. android:layout_width="match_parent"
  82. android:layout_height="match_parent"
  83. android:src="@drawable/pic3"/>
  84.  
  85. </LinearLayout>
  86.  
  87.  
  88. </LinearLayout>
  89. <LinearLayout
  90. android:layout_width="match_parent"
  91. android:layout_height="0dp"
  92. android:layout_weight="1"
  93.  
  94. android:layout_margin="5dp"
  95. android:orientation="horizontal">
  96.  
  97. <LinearLayout
  98. android:layout_width="0dp"
  99. android:layout_weight="1"
  100. android:layout_marginRight="5px"
  101. android:background="@color/colorPerrot"
  102. android:layout_height="match_parent">
  103. <ImageView
  104. android:layout_width="match_parent"
  105. android:layout_height="match_parent"
  106. android:src="@drawable/pic_camera"/>
  107. </LinearLayout>
  108. <LinearLayout
  109. android:layout_width="0dp"
  110. android:layout_weight="1"
  111. android:layout_marginLeft="5px"
  112. android:background="@color/colorPerrot"
  113. android:layout_height="match_parent">
  114. <ImageView
  115. android:layout_width="match_parent"
  116. android:layout_height="match_parent"
  117. android:src="@drawable/pic_sound"/>
  118.  
  119. </LinearLayout>
  120.  
  121.  
  122. </LinearLayout>
  123.  
  124.  
  125. <RelativeLayout
  126. android:layout_width="match_parent"
  127. android:layout_height="0dp"
  128. android:layout_weight="2"
  129. android:background="@color/colorPerrot"
  130. android:layout_margin="5dp">
  131. <ImageView
  132. android:layout_width="match_parent"
  133. android:layout_height="match_parent"
  134. android:src="@drawable/pic_envelop"
  135. android:padding="40dp"
  136.  
  137. />
  138. <TextView
  139. android:layout_width="match_parent"
  140. android:layout_height="match_parent"
  141. android:text="Google Mail"
  142. android:layout_gravity="center"
  143. android:textColor="@color/colorWhite"/>
  144.  
  145.  
  146. </RelativeLayout>
  147.  
  148.  
  149. </LinearLayout>
  150.  
  151. <LinearLayout
  152. android:layout_width="0dp"
  153. android:layout_weight="1"
  154. android:layout_height="match_parent"
  155. android:orientation="vertical">
  156.  
  157. <LinearLayout
  158. android:layout_width="match_parent"
  159. android:layout_height="0dp"
  160. android:layout_weight="1"
  161. android:background="@color/colorPerrot"
  162. android:layout_margin="5dp"
  163. android:orientation="horizontal">
  164.  
  165. <LinearLayout
  166. android:layout_width="0dp"
  167. android:layout_weight="1"
  168. android:layout_height="match_parent">
  169. <ImageView
  170. android:layout_width="match_parent"
  171. android:layout_height="match_parent"
  172. android:src="@drawable/pic_laugh"/>
  173. </LinearLayout>
  174. <LinearLayout
  175. android:layout_width="0dp"
  176. android:layout_weight="1"
  177. android:layout_height="match_parent">
  178. <ImageView
  179. android:layout_width="match_parent"
  180. android:layout_height="match_parent"
  181. android:src="@drawable/pic_explorer"/>
  182.  
  183. </LinearLayout>
  184.  
  185.  
  186. </LinearLayout>
  187.  
  188. <LinearLayout
  189. android:layout_width="match_parent"
  190. android:layout_height="0dp"
  191. android:layout_weight="1"
  192. android:background="@color/colorPerrot"
  193. android:layout_margin="5dp"
  194. android:orientation="horizontal">
  195.  
  196. <LinearLayout
  197. android:layout_width="0dp"
  198. android:layout_weight="1"
  199. android:layout_height="match_parent">
  200. <ImageView
  201. android:layout_width="match_parent"
  202. android:layout_height="match_parent"
  203. android:src="@drawable/pic_bag"/>
  204. </LinearLayout>
  205. <LinearLayout
  206. android:layout_width="0dp"
  207. android:layout_weight="1"
  208. android:layout_height="match_parent">
  209. <ImageView
  210. android:layout_width="match_parent"
  211. android:layout_height="match_parent"
  212. android:src="@drawable/pic_whatsapp"/>
  213.  
  214. </LinearLayout>
  215.  
  216.  
  217. </LinearLayout>
  218.  
  219.  
  220.  
  221.  
  222.  
  223. <LinearLayout
  224. android:layout_width="match_parent"
  225. android:layout_height="0dp"
  226. android:layout_weight="2"
  227. android:background="@color/colorPerrot"
  228. android:orientation="vertical"
  229. android:layout_margin="5dp">
  230.  
  231. <LinearLayout
  232. android:layout_width="match_parent"
  233. android:layout_height="0dp"
  234. android:layout_weight="1"
  235. android:orientation="horizontal">
  236. <LinearLayout
  237. android:layout_width="0dp"
  238. android:layout_weight="1"
  239. android:layout_height="match_parent"
  240. android:orientation="vertical">
  241. <TextView
  242. android:layout_width="match_parent"
  243. android:layout_height="0dp"
  244. android:layout_weight="1"
  245. android:text="Thu"
  246. android:textColor="@color/colorWhite"
  247. android:textStyle="bold"
  248. />
  249.  
  250. <TextView
  251. android:layout_width="match_parent"
  252. android:layout_height="0dp"
  253. android:layout_weight="1"
  254. android:text="16:52"
  255. android:textColor="@color/colorWhite"
  256. />
  257.  
  258. </LinearLayout>
  259. <LinearLayout
  260. android:layout_width="0dp"
  261. android:layout_weight="1"
  262. android:layout_height="match_parent">
  263. <TextView
  264. android:layout_width="match_parent"
  265. android:layout_height="match_parent"
  266. android:text="2&#xb0;"
  267. android:textSize="30dp"
  268. android:textStyle="bold"
  269. android:textColor="@color/colorWhite"
  270. android:gravity="center"/>
  271.  
  272. </LinearLayout>
  273.  
  274.  
  275.  
  276. </LinearLayout>
  277.  
  278. <LinearLayout
  279. android:layout_width="match_parent"
  280. android:layout_height="0dp"
  281. android:layout_weight="2"
  282. android:orientation="horizontal">
  283.  
  284. <LinearLayout
  285. android:layout_width="0dp"
  286. android:layout_weight="1"
  287. android:layout_height="match_parent">
  288. <ImageView
  289. android:layout_width="match_parent"
  290. android:layout_height="match_parent"
  291. android:src="@drawable/pic_weather"/>
  292.  
  293. </LinearLayout>
  294.  
  295. <LinearLayout
  296. android:layout_width="0dp"
  297. android:layout_weight="1"
  298. android:layout_height="match_parent"
  299. android:orientation="vertical">
  300. <LinearLayout
  301. android:layout_width="match_parent"
  302. android:layout_height="0dp"
  303. android:layout_weight="1"
  304. >
  305. <TextView
  306. android:layout_width="match_parent"
  307. android:layout_height="match_parent"
  308. android:text="-1&#xb0;"
  309. android:textSize=" 20dp"
  310. android:textStyle="bold"
  311. android:gravity="right"
  312. android:paddingRight="10dp"/>
  313.  
  314. </LinearLayout>
  315. <LinearLayout
  316. android:layout_width="match_parent"
  317. android:layout_height="0dp"
  318. android:layout_weight="1">
  319. <TextView
  320. android:layout_width="match_parent"
  321. android:layout_height="match_parent"
  322. android:text="-2&#xb0;"
  323. android:textSize="20dp"
  324. android:textStyle="bold"
  325. android:gravity="right"
  326. android:paddingRight="10dp"/>
  327.  
  328. </LinearLayout>
  329.  
  330. </LinearLayout>
  331.  
  332.  
  333. </LinearLayout>
  334.  
  335. <LinearLayout
  336. android:layout_width="match_parent"
  337. android:layout_height="0dp"
  338. android:layout_weight="1">
  339. <TextView
  340. android:layout_width="match_parent"
  341. android:layout_height="match_parent"
  342. android:text="St. Albans"
  343. android:textColor="@color/colorWhite"
  344. android:gravity="left|bottom"/>
  345.  
  346.  
  347. </LinearLayout>
  348.  
  349. </LinearLayout>
  350.  
  351. <LinearLayout
  352. android:layout_width="match_parent"
  353. android:layout_height="0dp"
  354. android:layout_weight="1"
  355. android:background="@color/colorPerrot"
  356. android:layout_margin="5dp"
  357. android:orientation="horizontal">
  358.  
  359. <LinearLayout
  360. android:layout_width="0dp"
  361. android:layout_weight="1"
  362. android:layout_height="match_parent">
  363. <ImageView
  364. android:layout_width="match_parent"
  365. android:layout_height="match_parent"
  366. android:src="@drawable/pic_kik"/>
  367. </LinearLayout>
  368. <LinearLayout
  369. android:layout_width="0dp"
  370. android:layout_weight="1"
  371. android:layout_height="match_parent">
  372. <ImageView
  373. android:layout_width="match_parent"
  374. android:layout_height="match_parent"
  375. android:src="@drawable/pic_netflix"/>
  376.  
  377. </LinearLayout>
  378.  
  379.  
  380. </LinearLayout>
  381.  
  382.  
  383. <LinearLayout
  384. android:layout_width="match_parent"
  385. android:layout_height="0dp"
  386. android:layout_weight="1"
  387. android:background="@color/colorPerrot"
  388. android:layout_margin="5dp"
  389. android:orientation="horizontal">
  390.  
  391. <LinearLayout
  392. android:layout_width="0dp"
  393. android:layout_weight="1"
  394. android:layout_height="match_parent">
  395. <ImageView
  396. android:layout_width="match_parent"
  397. android:layout_height="match_parent"
  398. android:src="@drawable/pic_calendar"/>
  399. </LinearLayout>
  400. <LinearLayout
  401. android:layout_width="0dp"
  402. android:layout_weight="1"
  403. android:gravity="center"
  404. android:layout_height="match_parent">
  405. <ImageView
  406. android:layout_width="50dp"
  407. android:layout_height="50dp"
  408. android:layout_gravity="right"
  409. android:paddingTop="20dp"
  410. android:src="@drawable/pic_scene"/>
  411. <TextView
  412. android:layout_width="match_parent"
  413. android:layout_height="match_parent"
  414. android:text="29"
  415. android:paddingTop="20dp"
  416. android:textColor="@color/colorWhite"
  417. android:textSize="30dp"/>
  418.  
  419. </LinearLayout>
  420.  
  421.  
  422. </LinearLayout>
  423.  
  424.  
  425.  
  426. </LinearLayout>
  427.  
  428.  
  429.  
  430. </LinearLayout>
  431.  
  432.  
  433. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement