AmniX

Untitled

Sep 13th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.67 KB | None | 0 0
  1. <LinearLayout 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. android:orientation="vertical">
  7.  
  8.  
  9. <android.support.design.widget.CoordinatorLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12.  
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:orientation="vertical">
  17.  
  18. <LinearLayout
  19. android:id="@+id/imageLayout"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22.  
  23. >
  24.  
  25. <ImageView
  26. android:id="@+id/headerImage"
  27. android:layout_width="match_parent"
  28. android:layout_height="250dp"
  29. android:layout_marginLeft="1dp"
  30. android:layout_marginRight="1dp"
  31. android:layout_marginTop="1dp"
  32. android:adjustViewBounds="true"
  33. android:background="@drawable/blurred"
  34. android:scaleType="fitCenter" />
  35. </LinearLayout>
  36.  
  37.  
  38. <RelativeLayout
  39. android:id="@+id/totl_desc"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:layout_below="@+id/imageLayout"
  43. android:layout_marginBottom="1dp"
  44. android:layout_marginLeft="1dp"
  45. android:layout_marginRight="1dp"
  46. android:background="#FFFF">
  47.  
  48. <RelativeLayout
  49. android:id="@+id/newsDesc"
  50. android:layout_width="match_parent"
  51. android:layout_height="match_parent"
  52. android:background="#FFFF">
  53.  
  54. <TextView
  55. android:id="@+id/desc_title"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_marginLeft="5dp"
  59. android:layout_marginRight="5dp"
  60. android:layout_marginTop="27dp"
  61. android:fitsSystemWindows="true"
  62. android:gravity="clip_vertical"
  63. android:padding="2dp"
  64. android:text="sadasd"
  65. android:textColor="#000"
  66. android:textSize="@dimen/text_size"
  67. android:textStyle="bold" />
  68.  
  69. <TextView
  70. android:id="@+id/desc"
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_below="@+id/desc_title"
  74. android:layout_marginLeft="5dp"
  75. android:layout_marginRight="5dp"
  76. android:fitsSystemWindows="true"
  77. android:gravity="center_vertical"
  78. android:text="sadasd"
  79. android:textColor="@color/colorGrayDark"
  80. android:textSize="15dp" />
  81.  
  82. <RelativeLayout
  83. android:id="@+id/detials"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:layout_alignParentBottom="true"
  87. android:layout_alignParentLeft="true"
  88. android:layout_alignParentStart="true">
  89.  
  90. <TextView
  91. android:id="@+id/texting"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:gravity="center_vertical"
  95. android:padding="4dp"
  96. android:text="Flash"
  97. android:textColor="#000"
  98. android:textSize="13dp"
  99. android:textStyle="bold" />
  100.  
  101. <TextView
  102. android:id="@+id/auth_name"
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:layout_marginTop="1dp"
  106. android:layout_toRightOf="@+id/texting"
  107. android:gravity="center_vertical"
  108. android:paddingRight="5dp"
  109. android:paddingTop="5dp"
  110. android:textColor="@color/colorGrayDark"
  111. android:textSize="11dp" />
  112.  
  113. <View
  114. android:id="@+id/SplitLine_hor"
  115. android:layout_width="match_parent"
  116. android:layout_height="1dp"
  117. android:layout_below="@+id/texting"
  118. android:layout_marginBottom="5dp"
  119. android:layout_marginTop="3dp"
  120. android:background="#53585757" />
  121.  
  122. <ImageButton
  123. android:id="@+id/likeButton"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:layout_alignParentTop="true"
  127. android:layout_toLeftOf="@+id/like_texting"
  128. android:background="@drawable/like" />
  129.  
  130. <TextView
  131. android:id="@+id/like_texting"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_alignBottom="@+id/likeButton"
  135. android:layout_alignParentEnd="true"
  136. android:layout_alignParentRight="true"
  137. android:layout_marginRight="4dp"
  138. android:gravity="center_vertical"
  139. android:padding="4dp"
  140. android:text="like"
  141. android:textColor="#9c9c9c"
  142. android:textSize="13dp" />
  143.  
  144. <TextView
  145. android:id="@+id/texting1"
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:layout_below="@+id/SplitLine_hor"
  149. android:gravity="center_vertical"
  150. android:padding="4dp"
  151. android:text="more at"
  152. android:textColor="@color/colorGrayDark"
  153. android:textSize="13dp" />
  154.  
  155. <TextView
  156. android:id="@+id/source_name"
  157. android:layout_width="wrap_content"
  158. android:layout_height="wrap_content"
  159. android:layout_below="@+id/SplitLine_hor"
  160. android:layout_toEndOf="@+id/texting1"
  161. android:layout_toLeftOf="@+id/likeButton"
  162. android:layout_toRightOf="@+id/texting1"
  163. android:gravity="center_vertical"
  164. android:paddingBottom="5dp"
  165. android:paddingRight="5dp"
  166. android:paddingTop="4dp"
  167. android:textColor="#00b5ec"
  168. android:textSize="13dp" />
  169.  
  170. <RelativeLayout
  171. android:id="@+id/fSharelayout"
  172. android:layout_width="wrap_content"
  173. android:layout_height="wrap_content"
  174. android:layout_alignBottom="@+id/texting1"
  175. android:layout_alignEnd="@+id/like_texting"
  176. android:layout_alignRight="@+id/like_texting">
  177.  
  178. <TextView
  179. android:id="@+id/fShare"
  180. android:layout_width="wrap_content"
  181. android:layout_height="wrap_content"
  182. android:layout_marginRight="2dp"
  183.  
  184. android:background="@drawable/facebook" />
  185.  
  186. <TextView
  187. android:id="@+id/textView2"
  188. android:layout_width="wrap_content"
  189. android:layout_height="wrap_content"
  190. android:layout_marginTop="4dp"
  191. android:layout_toRightOf="@+id/fShare"
  192. android:text="Share"
  193. android:textColor="#4E598F" />
  194. </RelativeLayout>
  195.  
  196. </RelativeLayout>
  197.  
  198. </RelativeLayout>
  199.  
  200. <RelativeLayout
  201. android:id="@+id/SurveyLayout"
  202. android:layout_width="match_parent"
  203. android:layout_height="match_parent"
  204. android:visibility="gone">
  205.  
  206.  
  207. <TextView
  208. android:id="@+id/question"
  209. android:layout_width="match_parent"
  210. android:layout_height="wrap_content"
  211. android:layout_marginTop="27dp"
  212. android:gravity="center_horizontal"
  213. android:padding="2dp"
  214. android:textColor="#000"
  215. android:textSize="17dp" />
  216.  
  217. <Button
  218. android:id="@+id/one"
  219. android:layout_width="match_parent"
  220. android:layout_height="40dp"
  221. android:layout_below="@+id/question"
  222. android:layout_centerHorizontal="true"
  223. android:layout_marginLeft="80dp"
  224. android:layout_marginRight="80dp"
  225. android:layout_marginTop="20dp"
  226. android:background="@color/colorOrange"
  227. android:textColor="#ffff" />
  228.  
  229. <Button
  230. android:id="@+id/two"
  231. android:layout_width="match_parent"
  232. android:layout_height="40dp"
  233. android:layout_below="@+id/one"
  234. android:layout_centerHorizontal="true"
  235. android:layout_marginLeft="80dp"
  236. android:layout_marginRight="80dp"
  237. android:layout_marginTop="25dp"
  238. android:background="@color/colorOrange"
  239.  
  240. android:textColor="#ffff" />
  241.  
  242. <Button
  243. android:id="@+id/three"
  244. android:layout_width="match_parent"
  245. android:layout_height="40dp"
  246. android:layout_below="@+id/two"
  247. android:layout_centerHorizontal="true"
  248. android:layout_marginLeft="80dp"
  249. android:layout_marginRight="80dp"
  250. android:layout_marginTop="25dp"
  251. android:background="@color/colorOrange"
  252. android:textColor="#ffff" />
  253. </RelativeLayout>
  254.  
  255. </RelativeLayout>
  256.  
  257. </LinearLayout>
  258.  
  259. <android.support.design.widget.FloatingActionButton
  260. android:id="@+id/fab"
  261. android:layout_width="wrap_content"
  262. android:layout_height="wrap_content"
  263. android:elevation="7dp"
  264. android:src="@drawable/share"
  265. app:backgroundTint="@color/colorOrange"
  266. app:layout_anchorGravity="bottom|center" />
  267.  
  268.  
  269. <android.support.design.widget.FloatingActionButton
  270. android:id="@+id/fab1"
  271. android:layout_width="wrap_content"
  272. android:layout_height="wrap_content"
  273. android:layout_gravity="bottom|center"
  274. android:layout_margin="@dimen/fab_margin"
  275. android:elevation="16dp"
  276. android:src="@drawable/share"
  277. android:visibility="gone"
  278. app:backgroundTint="@color/colorOrange" />
  279.  
  280. <ProgressBar
  281. android:id="@+id/imageProgress"
  282. android:layout_width="wrap_content"
  283. android:layout_height="wrap_content"
  284. android:layout_gravity="center"
  285. android:layout_marginBottom="250dp"
  286. android:indeterminate="true" />
  287.  
  288. <TextView
  289. android:id="@+id/categoryname"
  290. android:layout_width="wrap_content"
  291. android:layout_height="wrap_content"
  292. android:layout_gravity="center|right"
  293. android:layout_marginBottom="15dp"
  294. android:layout_marginRight="3dp"
  295. android:background="@color/colorOrange"
  296. android:text=""
  297. android:textColor="#ffff"
  298. android:textSize="11dp" />
  299.  
  300. </android.support.design.widget.CoordinatorLayout>
  301.  
  302. </LinearLayout>
Add Comment
Please, Sign In to add comment