Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.24 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"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:minWidth="25px"
  7. android:minHeight="25px">
  8. <LinearLayout
  9. android:orientation="vertical"
  10. android:minWidth="25px"
  11. android:minHeight="25px"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:id="@+id/linearLayout1"
  15. android:layout_margin="30dp">
  16. <TextView
  17. android:text="&lt;user&gt;'s stats"
  18. android:textAppearance="?android:attr/textAppearanceLarge"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:id="@+id/textView1"
  22. android:textSize="24dp" />
  23. <LinearLayout
  24. android:orientation="horizontal"
  25. android:layout_width="match_parent"
  26. android:layout_height="56dp"
  27. android:id="@+id/linearLayout2"
  28. android:layout_marginTop="18.0dp"
  29. android:background="#BDBDBD">
  30. <LinearLayout
  31. android:orientation="horizontal"
  32. android:minWidth="25px"
  33. android:minHeight="25px"
  34. android:layout_width="40dp"
  35. android:layout_height="match_parent"
  36. android:id="@+id/linearLayout3"
  37. android:background="#3F51B5" />
  38. <LinearLayout
  39. android:orientation="horizontal"
  40. android:minWidth="25px"
  41. android:minHeight="25px"
  42. android:layout_width="30dp"
  43. android:layout_height="match_parent"
  44. android:id="@+id/linearLayout4"
  45. android:background="#4CAF50" />
  46. <LinearLayout
  47. android:orientation="horizontal"
  48. android:minWidth="25px"
  49. android:minHeight="25px"
  50. android:layout_width="wrap_content"
  51. android:layout_height="match_parent"
  52. android:id="@+id/linearLayout5"
  53. android:background="#FF9800" />
  54. <LinearLayout
  55. android:orientation="horizontal"
  56. android:minWidth="25px"
  57. android:minHeight="25px"
  58. android:layout_width="60dp"
  59. android:layout_height="match_parent"
  60. android:id="@+id/linearLayout6"
  61. android:background="#795548" />
  62. <LinearLayout
  63. android:orientation="horizontal"
  64. android:minWidth="25px"
  65. android:minHeight="25px"
  66. android:layout_width="99dp"
  67. android:layout_height="match_parent"
  68. android:id="@+id/linearLayout7"
  69. android:background="#607D8B" />
  70. </LinearLayout>
  71. <RelativeLayout
  72. android:layout_width="match_parent"
  73. android:layout_height="24.0dp"
  74. android:layout_marginTop="18.0dp"
  75. android:layout_marginLeft="18.0dp"
  76. android:layout_marginRight="18.0dp"
  77. android:id="@+id/relativeLayout1">
  78. <TextView
  79. android:text="Food"
  80. android:id="@+id/textView2"
  81. android:textSize="15dp"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_marginLeft="6dp"
  85. android:foregroundTint="#00000000"
  86. android:textColor="#3F51B5 " />
  87. <TextView
  88. android:text="253,42 HRK"
  89. android:id="@+id/textView3"
  90. android:gravity="right"
  91. android:textStyle="bold"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:layout_toRightOf="@id/textView2"
  95. android:layout_alignParentRight="true" />
  96. </RelativeLayout>
  97. <RelativeLayout
  98. android:layout_width="match_parent"
  99. android:layout_height="24.0dp"
  100. android:layout_marginTop="18.0dp"
  101. android:layout_marginLeft="18.0dp"
  102. android:layout_marginRight="18.0dp"
  103. android:id="@+id/relativeLayout2">
  104. <TextView
  105. android:text="Drinks"
  106. android:id="@+id/textView2"
  107. android:textSize="15dp"
  108. android:layout_width="wrap_content"
  109. android:layout_height="wrap_content"
  110. android:layout_marginLeft="6dp"
  111. android:textColor="#4CAF50 " />
  112. <TextView
  113. android:text="253,42 HRK"
  114. android:id="@+id/textView3"
  115. android:gravity="right"
  116. android:textStyle="bold"
  117. android:layout_width="wrap_content"
  118. android:layout_height="wrap_content"
  119. android:layout_toRightOf="@id/textView2"
  120. android:layout_alignParentRight="true" />
  121. </RelativeLayout>
  122. <RelativeLayout
  123. android:layout_width="match_parent"
  124. android:layout_height="24.0dp"
  125. android:layout_marginTop="18.0dp"
  126. android:layout_marginLeft="18.0dp"
  127. android:layout_marginRight="18.0dp"
  128. android:id="@+id/relativeLayout3">
  129. <TextView
  130. android:text="Bills"
  131. android:id="@+id/textView4"
  132. android:textSize="15dp"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:layout_marginLeft="6dp"
  136. android:textColor="#FF9800 " />
  137. <TextView
  138. android:text="253,42 HRK"
  139. android:id="@+id/textView5"
  140. android:gravity="right"
  141. android:textStyle="bold"
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_toRightOf="@id/textView2"
  145. android:layout_alignParentRight="true" />
  146. </RelativeLayout>
  147. <RelativeLayout
  148. android:layout_width="match_parent"
  149. android:layout_height="24.0dp"
  150. android:layout_marginTop="18.0dp"
  151. android:layout_marginLeft="18.0dp"
  152. android:layout_marginRight="18.0dp"
  153. android:id="@+id/relativeLayout4">
  154. <TextView
  155. android:text="Fuel"
  156. android:id="@+id/textView6"
  157. android:textSize="15dp"
  158. android:layout_width="wrap_content"
  159. android:layout_height="wrap_content"
  160. android:layout_marginLeft="6dp"
  161. android:textColor="#795548 " />
  162. <TextView
  163. android:text="253,42 HRK"
  164. android:id="@+id/textView7"
  165. android:gravity="right"
  166. android:textStyle="bold"
  167. android:layout_width="wrap_content"
  168. android:layout_height="wrap_content"
  169. android:layout_toRightOf="@id/textView2"
  170. android:layout_alignParentRight="true" />
  171. </RelativeLayout>
  172. <RelativeLayout
  173. android:layout_width="match_parent"
  174. android:layout_height="24.0dp"
  175. android:layout_marginTop="18.0dp"
  176. android:layout_marginLeft="18.0dp"
  177. android:layout_marginRight="18.0dp"
  178. android:id="@+id/relativeLayout5">
  179. <TextView
  180. android:text="Other expenses"
  181. android:id="@+id/textView7"
  182. android:textSize="15dp"
  183. android:layout_width="wrap_content"
  184. android:layout_height="wrap_content"
  185. android:layout_marginLeft="6dp"
  186. android:textColor="#607D8B " />
  187. <TextView
  188. android:text="253,42 HRK"
  189. android:id="@+id/textView8"
  190. android:gravity="right"
  191. android:textStyle="bold"
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:layout_toRightOf="@id/textView2"
  195. android:layout_alignParentRight="true" />
  196. </RelativeLayout>
  197. <RelativeLayout
  198. android:layout_width="match_parent"
  199. android:layout_height="24.0dp"
  200. android:layout_marginTop="18.0dp"
  201. android:layout_marginLeft="18.0dp"
  202. android:layout_marginRight="18.0dp"
  203. android:id="@+id/relativeLayout7">
  204. <TextView
  205. android:text="TOTAL SPENT"
  206. android:id="@+id/textView9"
  207. android:textSize="15dp"
  208. android:layout_width="wrap_content"
  209. android:layout_height="wrap_content"
  210. android:layout_marginLeft="6dp"
  211. android:textStyle="bold" />
  212. <TextView
  213. android:text="253,42 HRK"
  214. android:id="@+id/textView10"
  215. android:gravity="right"
  216. android:textStyle="bold"
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:layout_toRightOf="@id/textView2"
  220. android:layout_alignParentRight="true"
  221. android:textSize="18dp" />
  222. </RelativeLayout>
  223. <RelativeLayout
  224. android:layout_width="match_parent"
  225. android:layout_height="24.0dp"
  226. android:layout_marginTop="18.0dp"
  227. android:layout_marginLeft="18.0dp"
  228. android:layout_marginRight="18.0dp"
  229. android:id="@+id/relativeLayout7">
  230. <TextView
  231. android:text="Money left"
  232. android:id="@+id/textView11"
  233. android:textSize="15dp"
  234. android:layout_width="wrap_content"
  235. android:layout_height="wrap_content"
  236. android:layout_marginLeft="6dp" />
  237. <TextView
  238. android:text="253,42 HRK"
  239. android:id="@+id/textView12"
  240. android:gravity="right"
  241. android:textStyle="bold"
  242. android:layout_width="wrap_content"
  243. android:layout_height="wrap_content"
  244. android:layout_toRightOf="@id/textView2"
  245. android:layout_alignParentRight="true" />
  246. </RelativeLayout>
  247.  
  248. <android.support.design.widget.FloatingActionButton
  249.  
  250. android:id="@+id/floatingActionButton"
  251.  
  252. android:layout_width="56dp"
  253.  
  254. android:layout_height="56dp"
  255.  
  256. android:layout_marginTop="14dp"
  257.  
  258. android:clickable="true"
  259.  
  260. app:fabSize="mini"
  261.  
  262. app:layout_constraintBottom_toBottomOf="parent"
  263.  
  264. app:layout_constraintLeft_toLeftOf="parent"
  265.  
  266. app:layout_constraintRight_toRightOf="parent"
  267.  
  268. app:layout_constraintTop_toTopOf="parent"
  269.  
  270. app:layout_constraintVertical_bias="0.898"
  271.  
  272. app:srcCompat="@drawable/btn_random_scan_clear"/>
  273. </LinearLayout>
  274. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement