Advertisement
Guest User

studentsaccountxml

a guest
Nov 28th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.62 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:fillViewport="true">
  6.  
  7. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. xmlns:app="http://schemas.android.com/apk/res-auto"
  9. xmlns:tools="http://schemas.android.com/tools"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. tools:context="com.example.redeye.sample.AccountsTab"
  13. android:orientation="vertical"
  14. android:padding="10dp"
  15. android:background="@color/backgroundcolor"
  16. >
  17. <LinearLayout
  18. android:clipToPadding="false"
  19. android:gravity="center"
  20. android:orientation="horizontal"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content">
  23. <android.support.v7.widget.CardView
  24. android:id="@+id/moreaccountsettingscard"
  25. android:foreground="?android:attr/selectableItemBackground"
  26. android:clickable="true"
  27. android:layout_width="160dp"
  28. android:layout_height="190dp"
  29. android:layout_margin="10dp"
  30. >
  31.  
  32. <LinearLayout
  33.  
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent"
  36. android:orientation="vertical"
  37. android:gravity="center"
  38. >
  39. <ImageView
  40. android:layout_width="64dp"
  41. android:layout_height="64dp"
  42. android:background="@drawable/circlet_colorpurple"
  43. android:src="@drawable/studentaccountsettings"
  44. android:padding="15dp"
  45. />
  46. <TextView
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:textStyle="bold"
  50. android:layout_marginTop="10dp"
  51. android:text="Account Settings"
  52. />
  53. <View
  54. android:layout_width="match_parent"
  55. android:layout_height="1dp"
  56. android:background="@color/colors.grey"
  57. android:layout_margin="10dp"
  58. />
  59. <TextView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:gravity="center"
  63. android:text="@string/changeaccountsettings"
  64. android:padding="5dp"
  65. />
  66.  
  67. </LinearLayout>
  68.  
  69. </android.support.v7.widget.CardView>
  70. <android.support.v7.widget.CardView
  71.  
  72. android:foreground="?android:attr/selectableItemBackground"
  73. android:clickable="true"
  74. android:layout_width="160dp"
  75. android:layout_height="190dp"
  76. android:layout_margin="10dp"
  77. >
  78. <LinearLayout
  79.  
  80. android:layout_width="match_parent"
  81. android:layout_height="match_parent"
  82. android:orientation="vertical"
  83. android:gravity="center"
  84. >
  85. <ImageView
  86. android:layout_width="64dp"
  87. android:layout_height="64dp"
  88. android:background="@drawable/circlet_colorpink"
  89. android:src="@drawable/studentsaccounttask"
  90. android:padding="18dp"
  91. />
  92. <TextView
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:textStyle="bold"
  96. android:layout_marginTop="10dp"
  97. android:text="Task"
  98. />
  99. <View
  100. android:layout_width="match_parent"
  101. android:layout_height="1dp"
  102. android:background="@color/colors.grey"
  103. android:layout_margin="10dp"
  104. />
  105.  
  106. <TextView
  107. android:layout_width="wrap_content"
  108. android:layout_height="wrap_content"
  109. android:gravity="center"
  110. android:padding="5dp"
  111. android:text="@string/viewtask" />
  112.  
  113. </LinearLayout>
  114.  
  115. </android.support.v7.widget.CardView>
  116.  
  117. </LinearLayout>
  118.  
  119. <LinearLayout
  120. android:layout_width="match_parent"
  121. android:layout_height="wrap_content"
  122. android:clipToPadding="false"
  123. android:gravity="center"
  124. android:orientation="horizontal">
  125.  
  126. <android.support.v7.widget.CardView
  127. android:foreground="?android:attr/selectableItemBackground"
  128. android:clickable="true"
  129.  
  130. android:layout_width="160dp"
  131. android:layout_height="190dp"
  132. android:layout_margin="10dp">
  133.  
  134. <LinearLayout
  135.  
  136. android:layout_width="match_parent"
  137. android:layout_height="match_parent"
  138. android:gravity="center"
  139. android:orientation="vertical">
  140.  
  141. <ImageView
  142. android:layout_width="64dp"
  143. android:layout_height="64dp"
  144. android:background="@drawable/circlet_colorgreen"
  145. android:padding="15dp"
  146. android:src="@drawable/studentaccountpreferences" />
  147.  
  148. <TextView
  149. android:layout_width="wrap_content"
  150. android:layout_height="wrap_content"
  151. android:layout_marginTop="10dp"
  152. android:text="Preferences"
  153. android:textStyle="bold" />
  154.  
  155. <View
  156. android:layout_width="match_parent"
  157. android:layout_height="1dp"
  158. android:layout_margin="10dp"
  159. android:background="@color/colors.grey" />
  160.  
  161. <TextView
  162. android:layout_width="wrap_content"
  163. android:layout_height="wrap_content"
  164. android:gravity="center"
  165. android:padding="5dp"
  166. android:text="@string/preferences" />
  167.  
  168. </LinearLayout>
  169.  
  170. </android.support.v7.widget.CardView>
  171.  
  172. <android.support.v7.widget.CardView
  173.  
  174. android:foreground="?android:attr/selectableItemBackground"
  175. android:clickable="true"
  176. android:layout_width="160dp"
  177. android:layout_height="190dp"
  178. android:layout_margin="10dp">
  179.  
  180. <LinearLayout
  181.  
  182. android:layout_width="match_parent"
  183. android:layout_height="match_parent"
  184. android:gravity="center"
  185. android:orientation="vertical">
  186.  
  187. <ImageView
  188. android:layout_width="64dp"
  189. android:layout_height="64dp"
  190. android:background="@drawable/circlet_colormagnificent"
  191. android:padding="15dp"
  192. android:src="@drawable/studentaccountactivities" />
  193.  
  194. <TextView
  195. android:layout_width="wrap_content"
  196. android:layout_height="wrap_content"
  197. android:layout_marginTop="10dp"
  198. android:text="My Activities"
  199. android:textStyle="bold" />
  200.  
  201. <View
  202. android:layout_width="match_parent"
  203. android:layout_height="1dp"
  204. android:layout_margin="10dp"
  205. android:background="@color/colors.grey" />
  206.  
  207. <TextView
  208. android:layout_width="wrap_content"
  209. android:layout_height="wrap_content"
  210. android:gravity="center"
  211. android:padding="5dp"
  212. android:text="@string/manageactivities" />
  213.  
  214. </LinearLayout>
  215.  
  216. </android.support.v7.widget.CardView>
  217.  
  218. </LinearLayout>
  219.  
  220.  
  221. <LinearLayout
  222. android:clipToPadding="false"
  223. android:gravity="center"
  224. android:orientation="horizontal"
  225. android:layout_width="match_parent"
  226. android:layout_height="wrap_content">
  227. <android.support.v7.widget.CardView
  228.  
  229.  
  230. android:foreground="?android:attr/selectableItemBackground"
  231. android:clickable="true"
  232. android:layout_width="160dp"
  233. android:layout_height="190dp"
  234. android:layout_margin="10dp"
  235. >
  236. <LinearLayout
  237. android:layout_width="match_parent"
  238. android:layout_height="match_parent"
  239. android:orientation="vertical"
  240. android:gravity="center"
  241. >
  242. <ImageView
  243. android:layout_width="64dp"
  244. android:layout_height="64dp"
  245. android:background="@drawable/circlet_coloryellow"
  246. android:src="@drawable/studentsaccounttrophies"
  247. android:padding="15dp"
  248. />
  249. <TextView
  250. android:layout_width="wrap_content"
  251. android:layout_height="wrap_content"
  252. android:textStyle="bold"
  253. android:layout_marginTop="10dp"
  254. android:text="Trophies"
  255. />
  256. <View
  257. android:layout_width="match_parent"
  258. android:layout_height="1dp"
  259. android:background="@color/colors.grey"
  260. android:layout_margin="10dp"
  261. />
  262. <TextView
  263. android:layout_width="wrap_content"
  264. android:layout_height="wrap_content"
  265. android:gravity="center"
  266. android:text="@string/viewmytrophies"
  267. android:padding="5dp"
  268. />
  269.  
  270. </LinearLayout>
  271.  
  272. </android.support.v7.widget.CardView>
  273. <android.support.v7.widget.CardView
  274.  
  275. android:foreground="?android:attr/selectableItemBackground"
  276. android:clickable="true"
  277. android:layout_width="160dp"
  278. android:layout_height="190dp"
  279. android:layout_margin="10dp"
  280. >
  281. <LinearLayout
  282. android:layout_width="match_parent"
  283. android:layout_height="match_parent"
  284. android:orientation="vertical"
  285. android:gravity="center"
  286. >
  287.  
  288. <ImageView
  289. android:layout_width="64dp"
  290. android:layout_height="64dp"
  291. android:background="@drawable/circlet_colorobelisk"
  292. android:padding="20dp"
  293. android:src="@drawable/studentaccounthelp" />
  294. <TextView
  295. android:layout_width="wrap_content"
  296. android:layout_height="wrap_content"
  297. android:textStyle="bold"
  298. android:layout_marginTop="10dp"
  299. android:text="Help"
  300. />
  301. <View
  302. android:layout_width="match_parent"
  303. android:layout_height="1dp"
  304. android:background="@color/colors.grey"
  305. android:layout_margin="10dp"
  306. />
  307. <TextView
  308. android:layout_width="wrap_content"
  309. android:layout_height="wrap_content"
  310. android:gravity="center"
  311. android:text="@string/helpsection"
  312. android:padding="5dp"
  313. />
  314.  
  315. </LinearLayout>
  316.  
  317. </android.support.v7.widget.CardView>
  318.  
  319. </LinearLayout>
  320.  
  321. <LinearLayout
  322. android:clipToPadding="false"
  323. android:gravity="center"
  324. android:orientation="horizontal"
  325. android:layout_width="match_parent"
  326. android:layout_height="wrap_content">
  327. <android.support.v7.widget.CardView
  328. android:foreground="?android:attr/selectableItemBackground"
  329. android:clickable="true"
  330. android:layout_width="160dp"
  331. android:layout_height="190dp"
  332. android:layout_margin="10dp"
  333. >
  334. <LinearLayout
  335. android:layout_width="match_parent"
  336. android:layout_height="match_parent"
  337. android:orientation="vertical"
  338. android:gravity="center"
  339. >
  340. <ImageView
  341. android:layout_width="64dp"
  342. android:layout_height="64dp"
  343. android:background="@drawable/circlet_colorburg"
  344. android:src="@drawable/studentaccountproblem"
  345. android:padding="15dp"
  346. />
  347. <TextView
  348. android:layout_width="wrap_content"
  349. android:layout_height="wrap_content"
  350. android:textStyle="bold"
  351. android:layout_marginTop="10dp"
  352. android:text="Problems"
  353. />
  354. <View
  355. android:layout_width="match_parent"
  356. android:layout_height="1dp"
  357. android:background="@color/colors.grey"
  358. android:layout_margin="10dp"
  359. />
  360. <TextView
  361. android:layout_width="wrap_content"
  362. android:layout_height="wrap_content"
  363. android:gravity="center"
  364. android:text="@string/reportbug"
  365. android:padding="5dp"
  366. />
  367.  
  368. </LinearLayout>
  369.  
  370. </android.support.v7.widget.CardView>
  371. <android.support.v7.widget.CardView
  372. android:foreground="?android:attr/selectableItemBackground"
  373. android:clickable="true"
  374. android:layout_width="160dp"
  375. android:layout_height="190dp"
  376. android:layout_margin="10dp"
  377. >
  378. <LinearLayout
  379. android:layout_width="match_parent"
  380. android:layout_height="match_parent"
  381. android:orientation="vertical"
  382. android:gravity="center"
  383. >
  384.  
  385. <ImageView
  386. android:layout_width="64dp"
  387. android:layout_height="64dp"
  388. android:background="@drawable/circlet_colormalef"
  389. android:padding="15dp"
  390. android:src="@drawable/studentaccountlogout" />
  391. <TextView
  392. android:layout_width="wrap_content"
  393. android:layout_height="wrap_content"
  394. android:textStyle="bold"
  395. android:layout_marginTop="20dp"
  396. android:text="@string/logout"
  397. />
  398. <View
  399. android:layout_width="match_parent"
  400. android:layout_height="1dp"
  401. android:background="@color/colors.grey"
  402.  
  403. android:layout_margin="10dp"
  404. android:layout_marginTop="20dp"
  405. />
  406.  
  407. </LinearLayout>
  408.  
  409. </android.support.v7.widget.CardView>
  410.  
  411. </LinearLayout>
  412.  
  413. </LinearLayout>
  414. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement