Advertisement
Guest User

baba

a guest
Aug 21st, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.93 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. tools:context="com.example.dan.movietracker.fragments.HomeFragment">
  7.  
  8.  
  9. <TextView
  10. android:layout_marginTop="10dp"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_gravity="center_horizontal"
  14. android:text="@string/title"
  15. android:layout_marginBottom="30dp"
  16. android:textSize="@dimen/titleTextSieze"
  17. android:textColor="#FFFFFF"
  18. />
  19.  
  20. <TextView
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:textColor="@color/textColorGray"
  24. android:text="Choose genres you want to WATCH!"
  25. android:layout_gravity="center_horizontal"
  26. android:textStyle="bold"
  27. android:layout_marginBottom="20dp"/>
  28.  
  29. <LinearLayout
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:gravity="center"
  33. android:layout_gravity="center_horizontal">
  34. <TextView
  35. android:id="@+id/action_text"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:background="@color/genresTextBackground"
  39. android:padding="@dimen/padding_genres"
  40. android:layout_marginRight="@dimen/margin_right_genres"
  41. android:text="@string/action"
  42. android:textColor="@color/genresTextColor"
  43. android:textSize="@dimen/text_size"
  44. android:textStyle="bold"
  45. />
  46. <TextView
  47. android:id="@+id/advendure_text"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:background="@color/genresTextBackground"
  51. android:padding="@dimen/padding_genres"
  52. android:text="@string/adventure"
  53. android:layout_marginRight="@dimen/margin_right_genres"
  54. android:textColor="@color/genresTextColor"
  55. android:textSize="@dimen/text_size"
  56. android:textStyle="bold"
  57. />
  58. <TextView
  59. android:id="@+id/animation_text"
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:background="@color/genresTextBackground"
  63. android:padding="@dimen/padding_genres"
  64. android:text="@string/animation"
  65. android:textColor="@color/genresTextColor"
  66. android:textSize="@dimen/text_size"
  67. android:textStyle="bold"
  68. />
  69. </LinearLayout>
  70.  
  71. <LinearLayout
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:gravity="center"
  75. android:layout_marginTop="@dimen/margin_top_genres"
  76. android:layout_gravity="center_horizontal">
  77. <TextView
  78. android:id="@+id/comedy_text"
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:background="@color/genresTextBackground"
  82. android:padding="@dimen/padding_genres"
  83. android:layout_marginRight="@dimen/margin_right_genres"
  84. android:text="@string/comedy"
  85. android:textColor="@color/genresTextColor"
  86. android:textSize="@dimen/text_size"
  87. android:textStyle="bold"
  88. />
  89. <TextView
  90. android:id="@+id/crime_text"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:background="@color/genresTextBackground"
  94. android:padding="@dimen/padding_genres"
  95. android:text="@string/crime"
  96. android:layout_marginRight="@dimen/margin_right_genres"
  97. android:textColor="@color/genresTextColor"
  98. android:textSize="@dimen/text_size"
  99. android:textStyle="bold"
  100. />
  101. <TextView
  102. android:id="@+id/documntary_text"
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:background="@color/genresTextBackground"
  106. android:padding="@dimen/padding_genres"
  107. android:text="@string/documentary"
  108. android:textColor="@color/genresTextColor"
  109. android:textSize="@dimen/text_size"
  110. android:textStyle="bold"
  111. />
  112. </LinearLayout>
  113.  
  114. <LinearLayout
  115. android:layout_width="wrap_content"
  116. android:layout_height="wrap_content"
  117. android:gravity="center"
  118. android:layout_marginTop="@dimen/margin_top_genres"
  119. android:layout_gravity="center_horizontal">
  120. <TextView
  121. android:id="@+id/drama_Text"
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:background="@color/genresTextBackground"
  125. android:padding="@dimen/padding_genres"
  126. android:layout_marginRight="@dimen/margin_right_genres"
  127. android:text="@string/drama"
  128. android:textColor="@color/genresTextColor"
  129. android:textSize="@dimen/text_size"
  130. android:textStyle="bold"
  131. />
  132. <TextView
  133. android:id="@+id/family_text"
  134. android:layout_width="wrap_content"
  135. android:layout_height="wrap_content"
  136. android:background="@color/genresTextBackground"
  137. android:padding="@dimen/padding_genres"
  138. android:text="@string/crime"
  139. android:layout_marginRight="@dimen/margin_right_genres"
  140. android:textColor="@color/genresTextColor"
  141. android:textSize="@dimen/text_size"
  142. android:textStyle="bold"
  143. />
  144. <TextView
  145. android:id="@+id/fantasy_text"
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:background="@color/genresTextBackground"
  149. android:padding="@dimen/padding_genres"
  150. android:text="@string/documentary"
  151. android:textColor="@color/genresTextColor"
  152. android:textSize="@dimen/text_size"
  153. android:textStyle="bold"
  154. />
  155. </LinearLayout>
  156. <LinearLayout
  157. android:layout_width="wrap_content"
  158. android:layout_height="wrap_content"
  159. android:gravity="center"
  160. android:layout_marginTop="@dimen/margin_top_genres"
  161. android:layout_gravity="center_horizontal">
  162. <TextView
  163. android:id="@+id/history_text"
  164. android:layout_width="wrap_content"
  165. android:layout_height="wrap_content"
  166. android:background="@color/genresTextBackground"
  167. android:padding="@dimen/padding_genres"
  168. android:layout_marginRight="@dimen/margin_right_genres"
  169. android:text="@string/history"
  170. android:textColor="@color/genresTextColor"
  171. android:textSize="@dimen/text_size"
  172. android:textStyle="bold"
  173. />
  174. <TextView
  175. android:id="@+id/horror_text"
  176. android:layout_width="wrap_content"
  177. android:layout_height="wrap_content"
  178. android:background="@color/genresTextBackground"
  179. android:padding="@dimen/padding_genres"
  180. android:text="@string/horror"
  181. android:layout_marginRight="@dimen/margin_right_genres"
  182. android:textColor="@color/genresTextColor"
  183. android:textSize="@dimen/text_size"
  184. android:textStyle="bold"
  185. />
  186. <TextView
  187. android:id="@+id/music_text"
  188. android:layout_width="wrap_content"
  189. android:layout_height="wrap_content"
  190. android:background="@color/genresTextBackground"
  191. android:padding="@dimen/padding_genres"
  192. android:text="@string/music"
  193. android:textColor="@color/genresTextColor"
  194. android:textSize="@dimen/text_size"
  195. android:textStyle="bold"
  196. />
  197. </LinearLayout>
  198.  
  199. <LinearLayout
  200. android:layout_width="wrap_content"
  201. android:layout_height="wrap_content"
  202. android:gravity="center"
  203. android:layout_marginTop="@dimen/margin_top_genres"
  204. android:layout_gravity="center_horizontal">
  205. <TextView
  206. android:id="@+id/mystery_text"
  207. android:layout_width="wrap_content"
  208. android:layout_height="wrap_content"
  209. android:background="@color/genresTextBackground"
  210. android:padding="@dimen/padding_genres"
  211. android:layout_marginRight="@dimen/margin_right_genres"
  212. android:text="@string/mystery"
  213. android:textColor="@color/genresTextColor"
  214. android:textSize="@dimen/text_size"
  215. android:textStyle="bold"
  216. />
  217. <TextView
  218. android:id="@+id/romance_Text"
  219. android:layout_width="wrap_content"
  220. android:layout_height="wrap_content"
  221. android:background="@color/genresTextBackground"
  222. android:padding="@dimen/padding_genres"
  223. android:text="@string/romance"
  224. android:layout_marginRight="@dimen/margin_right_genres"
  225. android:textColor="@color/genresTextColor"
  226. android:textSize="@dimen/text_size"
  227. android:textStyle="bold"
  228. />
  229. <TextView
  230. android:id="@+id/scienceFiction_text"
  231. android:layout_width="wrap_content"
  232. android:layout_height="wrap_content"
  233. android:background="@color/genresTextBackground"
  234. android:padding="@dimen/padding_genres"
  235. android:text="@string/science_fiction"
  236. android:textColor="@color/genresTextColor"
  237. android:textSize="@dimen/text_size"
  238. android:textStyle="bold"
  239. />
  240. </LinearLayout>
  241.  
  242. <LinearLayout
  243. android:layout_width="wrap_content"
  244. android:layout_height="wrap_content"
  245. android:gravity="center"
  246. android:layout_marginTop="@dimen/margin_top_genres"
  247. android:layout_gravity="center_horizontal">
  248. <TextView
  249. android:id="@+id/thriller_text"
  250. android:layout_width="wrap_content"
  251. android:layout_height="wrap_content"
  252. android:background="@color/genresTextBackground"
  253. android:padding="@dimen/padding_genres"
  254. android:layout_marginRight="@dimen/margin_right_genres"
  255. android:text="@string/thriller"
  256. android:textColor="@color/genresTextColor"
  257. android:textSize="@dimen/text_size"
  258. android:textStyle="bold"
  259. />
  260. <TextView
  261. android:id="@+id/war_text"
  262. android:layout_width="wrap_content"
  263. android:layout_height="wrap_content"
  264. android:background="@color/genresTextBackground"
  265. android:padding="@dimen/padding_genres"
  266. android:text="@string/war"
  267. android:layout_marginRight="@dimen/margin_right_genres"
  268. android:textColor="@color/genresTextColor"
  269. android:textSize="@dimen/text_size"
  270. android:textStyle="bold"
  271. />
  272. <TextView
  273. android:id="@+id/western_text"
  274. android:layout_width="wrap_content"
  275. android:layout_height="wrap_content"
  276. android:background="@color/genresTextBackground"
  277. android:padding="@dimen/padding_genres"
  278. android:text="@string/western"
  279. android:textColor="@color/genresTextColor"
  280. android:textSize="@dimen/text_size"
  281. android:textStyle="bold"
  282. />
  283. </LinearLayout>
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement