Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".RealMainActivity"
  8. android:background="#f7f7f7"
  9. android:orientation="vertical">
  10.  
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginTop="50dp">
  15. <TextView
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:text="Welcome to the Lake County Road Maintainance App"
  19. android:layout_marginLeft="15dp"
  20. android:layout_marginRight="15dp"
  21. android:textSize="16sp"
  22. android:textStyle="bold"/>
  23.  
  24.  
  25. <RelativeLayout
  26. android:id="@+id/badge_layout1"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_alignParentRight="true"
  30. android:layout_gravity="right"
  31. android:layout_marginRight="14dp">
  32.  
  33. <RelativeLayout
  34. android:id="@+id/relative_layout"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content" />
  37. </RelativeLayout>
  38.  
  39.  
  40.  
  41. </RelativeLayout>
  42. <LinearLayout
  43. android:orientation="vertical"
  44. android:layout_width="match_parent"
  45. android:layout_height="match_parent">
  46.  
  47. <LinearLayout
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:orientation="horizontal">
  51.  
  52. <LinearLayout
  53. android:layout_width="0dp"
  54. android:layout_weight="1"
  55. android:layout_marginLeft="8dp"
  56. android:layout_marginRight="8dp"
  57. android:layout_marginTop="15dp"
  58. android:layout_height="match_parent"
  59. android:orientation="vertical"
  60. android:gravity="center">
  61.  
  62. <androidx.cardview.widget.CardView
  63. android:id="@+id/item2"
  64. android:layout_width="match_parent"
  65. android:layout_height="100dp"
  66. android:background="#FFFFFF"
  67. android:clickable="true"
  68. android:onClick="filereport"
  69. android:theme="@style/ThemeOverlay.AppCompat.Light"
  70. app:cardBackgroundColor="@android:color/white"
  71. app:cardCornerRadius="10dp"
  72. app:cardElevation="0dp"
  73. >
  74. <RelativeLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="match_parent"
  77. android:gravity="center">
  78. <LinearLayout
  79. android:layout_width="match_parent"
  80. android:layout_height="match_parent"
  81. android:orientation="vertical"
  82. android:gravity="center">
  83.  
  84. <ImageView
  85. android:layout_width="35dp"
  86. android:layout_height="35dp"
  87. android:src="@drawable/ic_car"/>
  88.  
  89. <TextView
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:textColor="#bcbcbc"
  93. android:textSize="14sp"
  94. android:layout_marginTop="10dp"
  95. android:text="File a report"
  96. android:textStyle="bold"/>
  97.  
  98. </LinearLayout>
  99. <FrameLayout
  100. android:id="@+id/flrpt"
  101. android:layout_width="match_parent"
  102. android:layout_height="match_parent">
  103. </FrameLayout>
  104.  
  105. </RelativeLayout>
  106. </androidx.cardview.widget.CardView>
  107.  
  108. </LinearLayout>
  109.  
  110. </LinearLayout>
  111.  
  112.  
  113. //ROW 2
  114.  
  115. <LinearLayout
  116. android:layout_width="405dp"
  117. android:layout_height="wrap_content"
  118. android:orientation="horizontal">
  119.  
  120. <LinearLayout
  121. android:layout_width="0dp"
  122. android:layout_weight="1"
  123. android:layout_marginLeft="8dp"
  124. android:layout_marginRight="8dp"
  125. android:layout_marginTop="15dp"
  126. android:layout_height="match_parent"
  127. android:orientation="vertical"
  128. android:gravity="center">
  129.  
  130. <androidx.cardview.widget.CardView
  131. android:id="@+id/item4"
  132. android:layout_width="match_parent"
  133. android:layout_height="100dp"
  134. android:background="#FFFFFF"
  135. android:theme="@style/ThemeOverlay.AppCompat.Light"
  136. app:cardBackgroundColor="@android:color/white"
  137. app:cardCornerRadius="10dp"
  138. android:clickable="true"
  139. android:onClick="database"
  140. app:cardElevation="0dp"
  141. >
  142. <RelativeLayout
  143. android:layout_width="match_parent"
  144. android:layout_height="match_parent"
  145. android:gravity="center">
  146. <LinearLayout
  147. android:layout_width="match_parent"
  148. android:layout_height="match_parent"
  149. android:orientation="vertical"
  150. android:gravity="center">
  151.  
  152. <ImageView
  153. android:layout_width="35dp"
  154. android:layout_height="35dp"
  155. android:src="@drawable/ic_notebook"/>
  156.  
  157. <TextView
  158. android:layout_width="wrap_content"
  159. android:layout_height="wrap_content"
  160. android:textColor="#bcbcbc"
  161. android:textSize="14sp"
  162. android:layout_marginTop="10dp"
  163. android:text="Your Tickets"
  164. android:textStyle="bold"/>
  165.  
  166. </LinearLayout>
  167.  
  168. </RelativeLayout>
  169. </androidx.cardview.widget.CardView>
  170.  
  171. </LinearLayout>
  172.  
  173. </LinearLayout>
  174.  
  175. //ROW 3
  176.  
  177. //ROW 2
  178.  
  179. <LinearLayout
  180. android:layout_width="405dp"
  181. android:layout_height="wrap_content"
  182. android:orientation="horizontal">
  183.  
  184. <LinearLayout
  185. android:layout_width="0dp"
  186. android:layout_weight="1"
  187. android:layout_marginTop="15dp"
  188. android:layout_marginLeft="8dp"
  189. android:layout_marginRight="8dp"
  190. android:layout_height="match_parent"
  191. android:orientation="vertical"
  192. android:gravity="center">
  193.  
  194. <androidx.cardview.widget.CardView
  195. android:id="@+id/item5"
  196. android:layout_width="match_parent"
  197. android:layout_height="100dp"
  198. android:background="#FFFFFF"
  199. android:theme="@style/ThemeOverlay.AppCompat.Light"
  200. app:cardBackgroundColor="@android:color/white"
  201. app:cardCornerRadius="10dp"
  202. app:cardElevation="0dp"
  203. >
  204. <RelativeLayout
  205. android:layout_width="match_parent"
  206. android:layout_height="match_parent"
  207. android:gravity="center">
  208. <LinearLayout
  209. android:layout_width="match_parent"
  210. android:layout_height="match_parent"
  211. android:orientation="vertical"
  212. android:gravity="center">
  213.  
  214. <ImageView
  215. android:layout_width="35dp"
  216. android:layout_height="35dp"
  217. android:src="@drawable/ic_info_circle"/>
  218.  
  219. <TextView
  220. android:layout_width="wrap_content"
  221. android:layout_height="wrap_content"
  222. android:textColor="#bcbcbc"
  223. android:textSize="14sp"
  224. android:layout_marginTop="10dp"
  225. android:text="About"
  226. android:textStyle="bold"/>
  227.  
  228. </LinearLayout>
  229. <FrameLayout
  230. android:id="@+id/button5"
  231. android:layout_width="match_parent"
  232. android:layout_height="match_parent">
  233. </FrameLayout>
  234.  
  235. </RelativeLayout>
  236. </androidx.cardview.widget.CardView>
  237. <Switch
  238. android:id="@+id/detect"
  239. android:layout_width="wrap_content"
  240. android:layout_height="wrap_content"
  241.  
  242. android:layout_marginTop="50dp"
  243. android:text="Auto Bump Detector Detect" />
  244. <Switch
  245. android:id="@+id/photoperm"
  246. android:layout_width="wrap_content"
  247. android:layout_height="wrap_content"
  248.  
  249. android:layout_marginTop="30dp"
  250. android:text="Permission To Read Photo Metadata" />
  251.  
  252. </LinearLayout>
  253.  
  254. </LinearLayout>
  255.  
  256. </LinearLayout>
  257.  
  258. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement