fragment_home.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView 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. android:clipToPadding="false"
  8. android:paddingBottom="@dimen/content_padding_bottom"
  9. tools:context=".ui.support.SupportFragment">
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="vertical">
  14. <com.google.android.material.card.MaterialCardView
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. app:cardCornerRadius="12dp"
  18. app:cardElevation="6dp"
  19. app:cardPreventCornerOverlap="true"
  20. app:cardUseCompatPadding="true"
  21. app:contentPadding="12dp">
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:orientation="vertical">
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_marginTop="8dp"
  30. android:gravity="center_vertical"
  31. android:orientation="horizontal">
  32. <LinearLayout
  33. android:layout_width="0dp"
  34. android:layout_height="wrap_content"
  35. android:layout_weight="1"
  36. android:orientation="vertical">
  37. <TextView
  38. android:id="@+id/title1"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="Mobile Endpoint Security"
  42. android:textColor="@android:color/black"
  43. android:textSize="16sp"
  44. android:textStyle="bold" />
  45. <TextView
  46. android:id="@+id/subtitle1"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:maxLines="2"
  50. android:text="Device integrity • App integrity • UBA • DLP"
  51. android:textColor="@android:color/darker_gray"
  52. android:textSize="12sp" />
  53. </LinearLayout>
  54. <com.google.android.material.chip.Chip
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="Compliant"
  58. app:chipIcon="@drawable/shield_check"
  59. app:chipIconTint="@color/emerald_700"
  60. android:textColor="@color/emerald_700"
  61. app:chipBackgroundColor="@color/emerald_50"
  62. app:chipStrokeColor="@color/emerald_200"
  63. app:chipStrokeWidth="1dp"/>
  64. </LinearLayout>
  65. <LinearLayout
  66. android:layout_width="match_parent"
  67. android:layout_height="wrap_content"
  68. android:layout_marginTop="8dp"
  69. android:gravity="center"
  70. android:orientation="horizontal"
  71. android:weightSum="3">
  72. <com.google.android.material.button.MaterialButton
  73. style="@style/MyOutlinedButton"
  74. android:layout_width="0dp"
  75. android:layout_height="wrap_content"
  76. android:layout_weight="1"
  77. android:text="Security"
  78. android:textColor="@color/white"
  79. app:backgroundTint="@color/black"
  80. app:icon="@drawable/shield_check"
  81. app:strokeWidth="0dp" />
  82. <com.google.android.material.button.MaterialButton
  83. style="@style/MyOutlinedButton"
  84. android:layout_width="0dp"
  85. android:layout_height="wrap_content"
  86. android:layout_marginStart="8dp"
  87. android:layout_weight="1"
  88. android:text="Auto-remediate"
  89. android:textColor="@color/white"
  90. android:textSize="12sp"
  91. app:backgroundTint="@color/emerald_600"
  92. app:strokeWidth="0dp" />
  93. <com.google.android.material.button.MaterialButton
  94. style="@style/MyOutlinedButton"
  95. android:layout_width="0dp"
  96. android:layout_height="wrap_content"
  97. android:layout_marginStart="8dp"
  98. android:layout_weight="1"
  99. android:text="Open Chats"
  100. android:textColor="@color/black"
  101. app:backgroundTint="@color/gray_200"
  102. app:strokeWidth="0dp" />
  103. </LinearLayout>
  104. </LinearLayout>
  105. </com.google.android.material.card.MaterialCardView>
  106. <!-- Unified Communications -->
  107. <com.google.android.material.card.MaterialCardView
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content"
  110. app:cardCornerRadius="12dp"
  111. app:cardElevation="6dp"
  112. app:cardPreventCornerOverlap="true"
  113. app:cardUseCompatPadding="true"
  114. app:contentPadding="12dp">
  115. <LinearLayout
  116. android:layout_width="match_parent"
  117. android:layout_height="wrap_content"
  118. android:orientation="vertical">
  119. <TextView
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:text="Unified Communications"
  123. android:textColor="@android:color/black"
  124. android:textSize="16sp"
  125. android:textStyle="bold" />
  126. <LinearLayout
  127. android:layout_width="match_parent"
  128. android:layout_height="wrap_content"
  129. android:layout_marginTop="8dp"
  130. android:orientation="horizontal"
  131. android:weightSum="3">
  132. <com.google.android.material.button.MaterialButton
  133. style="@style/MyOutlinedButton2"
  134. android:layout_width="0dp"
  135. android:layout_height="match_parent"
  136. android:layout_weight="1"
  137. android:text="Messaging"
  138. app:backgroundTint="@color/white"
  139. app:strokeColor="@color/black"
  140. app:strokeWidth="1dp" />
  141. <com.google.android.material.button.MaterialButton
  142. style="@style/MyOutlinedButton2"
  143. android:layout_width="0dp"
  144. android:layout_height="match_parent"
  145. android:layout_marginStart="8dp"
  146. android:layout_weight="1"
  147. android:text="Audio (in chat)"
  148. app:backgroundTint="@color/white"
  149. app:icon="@drawable/phone"
  150. app:iconTint="@color/black"
  151. app:strokeColor="@color/black"
  152. app:strokeWidth="1dp" />
  153. <com.google.android.material.button.MaterialButton
  154. style="@style/MyOutlinedButton2"
  155. android:layout_width="0dp"
  156. android:layout_height="match_parent"
  157. android:layout_marginStart="8dp"
  158. android:layout_weight="1"
  159. android:text="Video (in chat)"
  160. app:backgroundTint="@color/white"
  161. app:icon="@drawable/video"
  162. app:iconTint="@color/black"
  163. app:strokeColor="@color/black"
  164. app:strokeWidth="1dp" />
  165. </LinearLayout>
  166. </LinearLayout>
  167. </com.google.android.material.card.MaterialCardView>
  168. <!-- Operational Support -->
  169. <com.google.android.material.card.MaterialCardView
  170. android:layout_width="match_parent"
  171. android:layout_height="wrap_content"
  172. app:cardCornerRadius="12dp"
  173. app:cardElevation="6dp"
  174. app:cardPreventCornerOverlap="true"
  175. app:cardUseCompatPadding="true"
  176. app:contentPadding="12dp">
  177. <LinearLayout
  178. android:layout_width="match_parent"
  179. android:layout_height="wrap_content"
  180. android:orientation="vertical">
  181. <TextView
  182. android:layout_width="wrap_content"
  183. android:layout_height="wrap_content"
  184. android:text="Operational Support"
  185. android:textColor="@android:color/black"
  186. android:textSize="16sp"
  187. android:textStyle="bold" />
  188. <LinearLayout
  189. android:layout_width="match_parent"
  190. android:layout_height="wrap_content"
  191. android:layout_marginTop="8dp"
  192. android:orientation="horizontal"
  193. android:weightSum="3">
  194. <com.google.android.material.button.MaterialButton
  195. style="@style/MyOutlinedButton"
  196. android:layout_width="0dp"
  197. android:layout_height="wrap_content"
  198. android:layout_weight="1"
  199. android:text="Operator"
  200. app:backgroundTint="@color/white"
  201. app:icon="@drawable/headphones"
  202. app:iconTint="@color/black"
  203. app:strokeColor="@color/black"
  204. app:strokeWidth="1dp" />
  205. <com.google.android.material.button.MaterialButton
  206. style="@style/MyOutlinedButton"
  207. android:layout_width="0dp"
  208. android:layout_height="wrap_content"
  209. android:layout_marginStart="8dp"
  210. android:layout_weight="1"
  211. android:text="Smartbot"
  212. app:backgroundTint="@color/white"
  213. app:icon="@drawable/bot"
  214. app:iconTint="@color/black"
  215. app:strokeColor="@color/black"
  216. app:strokeWidth="1dp" />
  217. <com.google.android.material.button.MaterialButton
  218. style="@style/MyOutlinedButton"
  219. android:layout_width="0dp"
  220. android:layout_height="wrap_content"
  221. android:layout_marginStart="8dp"
  222. android:layout_weight="1"
  223. android:text="Panic"
  224. android:textColor="@color/rose_600"
  225. app:backgroundTint="@color/white"
  226. app:icon="@drawable/siren"
  227. app:iconTint="@color/rose_600"
  228. app:strokeColor="@color/rose_600"
  229. app:strokeWidth="1dp" />
  230. </LinearLayout>
  231. </LinearLayout>
  232. </com.google.android.material.card.MaterialCardView>
  233. <com.google.android.material.card.MaterialCardView
  234. android:layout_width="match_parent"
  235. android:layout_height="wrap_content"
  236. app:cardCornerRadius="12dp"
  237. app:cardElevation="6dp"
  238. app:cardPreventCornerOverlap="true"
  239. app:cardUseCompatPadding="true"
  240. app:contentPadding="12dp">
  241. <LinearLayout
  242. android:layout_width="match_parent"
  243. android:layout_height="wrap_content"
  244. android:orientation="vertical">
  245. <TextView
  246. android:layout_width="wrap_content"
  247. android:layout_height="wrap_content"
  248. android:text="Recent Security Events"
  249. android:textColor="@android:color/black"
  250. android:textSize="16sp"
  251. android:textStyle="bold" />
  252. <LinearLayout
  253. android:layout_width="match_parent"
  254. android:layout_height="wrap_content"
  255. android:orientation="horizontal">
  256. <TextView
  257. android:layout_width="wrap_content"
  258. android:layout_height="wrap_content"
  259. android:text="• Untrusted Wi-Fi blocked (Café-WiFi)"
  260. android:textColor="@android:color/black"
  261. android:textSize="14sp" />
  262. <com.google.android.material.chip.Chip
  263. android:layout_width="wrap_content"
  264. android:layout_height="wrap_content"
  265. android:layout_marginStart="8dp"
  266. android:text="Prevented"
  267. android:textColor="@color/amber_700"
  268. app:chipBackgroundColor="@color/amber_50"
  269. app:chipStrokeColor="@color/amber_200"
  270. app:chipStrokeWidth="1dp"/>
  271. </LinearLayout>
  272. <LinearLayout
  273. android:layout_width="match_parent"
  274. android:layout_height="wrap_content"
  275. android:orientation="horizontal">
  276. <TextView
  277. android:layout_width="0dp"
  278. android:layout_weight="1"
  279. android:layout_height="wrap_content"
  280. android:text="• Policy updated: Export requires step-up auth"
  281. android:textColor="@android:color/black"
  282. android:textSize="14sp" />
  283. <com.google.android.material.chip.Chip
  284. android:layout_width="wrap_content"
  285. android:layout_height="wrap_content"
  286. android:layout_marginStart="8dp"
  287. android:textColor="@color/neutral_600"
  288. app:chipBackgroundColor="@color/neutral_100"
  289. app:chipStrokeColor="@color/neutral_200"
  290. app:chipStrokeWidth="1dp"
  291. android:text="Policy" />
  292. </LinearLayout>
  293. </LinearLayout>
  294. </com.google.android.material.card.MaterialCardView>
  295. </LinearLayout>
  296. </ScrollView>