fragment_support.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:text="Operator‑driven Support"
  30. android:textColor="@android:color/black"
  31. android:textSize="16sp"
  32. android:textStyle="bold" />
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_marginTop="8dp"
  37. android:orientation="horizontal"
  38. android:weightSum="3">
  39. <com.google.android.material.button.MaterialButton
  40. style="@style/MyOutlinedButton2"
  41. android:layout_width="0dp"
  42. android:layout_height="match_parent"
  43. android:layout_weight="1"
  44. android:text="Call operator"
  45. android:textColor="@color/white"
  46. app:backgroundTint="@color/black"
  47. app:icon="@drawable/headphones"
  48. app:strokeWidth="0dp" />
  49. <com.google.android.material.button.MaterialButton
  50. style="@style/MyOutlinedButton2"
  51. android:layout_width="0dp"
  52. android:layout_height="match_parent"
  53. android:layout_marginStart="8dp"
  54. android:layout_weight="1"
  55. android:text="Live chat"
  56. app:backgroundTint="@color/gray_200"
  57. app:icon="@drawable/message_circle"
  58. app:iconTint="@color/black"
  59. app:strokeWidth="0dp" />
  60. <com.google.android.material.button.MaterialButton
  61. style="@style/MyOutlinedButton2"
  62. android:layout_width="0dp"
  63. android:layout_height="match_parent"
  64. android:layout_marginStart="8dp"
  65. android:layout_weight="1"
  66. android:text="New ticket"
  67. app:backgroundTint="@color/gray_200"
  68. app:icon="@drawable/plus"
  69. app:iconTint="@color/black"
  70. app:strokeWidth="0dp" />
  71. </LinearLayout>
  72. </LinearLayout>
  73. </com.google.android.material.card.MaterialCardView>
  74. <com.google.android.material.card.MaterialCardView
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. app:cardCornerRadius="12dp"
  78. app:cardElevation="6dp"
  79. app:cardPreventCornerOverlap="true"
  80. app:cardUseCompatPadding="true"
  81. app:contentPadding="12dp">
  82. <LinearLayout
  83. android:layout_width="match_parent"
  84. android:layout_height="wrap_content"
  85. android:orientation="vertical">
  86. <LinearLayout
  87. android:layout_width="match_parent"
  88. android:layout_height="wrap_content"
  89. android:layout_weight="1"
  90. android:orientation="vertical">
  91. <TextView
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:text="Smartbot"
  95. android:textColor="@android:color/black"
  96. android:textSize="16sp"
  97. android:textStyle="bold" />
  98. <TextView
  99. android:layout_width="match_parent"
  100. android:layout_height="wrap_content"
  101. android:maxLines="2"
  102. android:text="Automated assistance for policies, device fixes, and meeting prep."
  103. android:textColor="@android:color/darker_gray"
  104. android:textSize="12sp" />
  105. </LinearLayout>
  106. <com.google.android.material.chip.ChipGroup
  107. android:layout_width="match_parent"
  108. android:layout_height="wrap_content"
  109. app:singleLine="false">
  110. <com.google.android.material.chip.Chip
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:text="Why is my export blocked?"
  114. app:chipBackgroundColor="@color/white"
  115. app:chipStrokeColor="@color/gray_200"
  116. app:chipStrokeWidth="1dp" />
  117. <com.google.android.material.chip.Chip
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:text="How to mark Confidential?"
  121. app:chipBackgroundColor="@color/white"
  122. app:chipStrokeColor="@color/gray_200"
  123. app:chipStrokeWidth="1dp" />
  124. <com.google.android.material.chip.Chip
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:text="Fix Wi‑Fi error"
  128. app:chipBackgroundColor="@color/white"
  129. app:chipStrokeColor="@color/gray_200"
  130. app:chipStrokeWidth="1dp" />
  131. </com.google.android.material.chip.ChipGroup>
  132. </LinearLayout>
  133. </com.google.android.material.card.MaterialCardView>
  134. <com.google.android.material.card.MaterialCardView
  135. android:layout_width="match_parent"
  136. android:layout_height="wrap_content"
  137. app:cardCornerRadius="12dp"
  138. app:cardElevation="6dp"
  139. app:cardPreventCornerOverlap="true"
  140. app:cardUseCompatPadding="true"
  141. app:contentPadding="12dp">
  142. <LinearLayout
  143. android:layout_width="match_parent"
  144. android:layout_height="wrap_content"
  145. android:orientation="vertical">
  146. <LinearLayout
  147. android:layout_width="match_parent"
  148. android:layout_height="wrap_content"
  149. android:layout_weight="1"
  150. android:orientation="vertical">
  151. <TextView
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:text="Panic Events"
  155. android:textColor="@android:color/black"
  156. android:textSize="16sp"
  157. android:textStyle="bold" />
  158. <TextView
  159. android:layout_width="match_parent"
  160. android:layout_height="wrap_content"
  161. android:maxLines="2"
  162. android:text="Emergency alerts sent to operator &amp; security with live location.
  163. "
  164. android:textColor="@android:color/darker_gray"
  165. android:textSize="12sp" />
  166. </LinearLayout>
  167. <LinearLayout
  168. android:layout_width="match_parent"
  169. android:layout_height="wrap_content" android:orientation="horizontal">
  170. <TextView
  171. android:layout_width="0dp"
  172. android:layout_weight="1"
  173. android:layout_height="wrap_content"
  174. android:text="Aug 12, 10:21 — Office basement"
  175. android:maxLines="2"
  176. android:textColor="@android:color/black"
  177. android:textSize="14sp" />
  178. <com.google.android.material.chip.Chip
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:layout_marginStart="8dp"
  182. android:text="Resolved"
  183. android:textColor="@color/rose_700"
  184. app:chipBackgroundColor="@color/rose_50"
  185. app:chipStrokeColor="@color/rose_200"
  186. app:chipStrokeWidth="1dp" />
  187. </LinearLayout>
  188. </LinearLayout>
  189. </com.google.android.material.card.MaterialCardView>
  190. </LinearLayout>
  191. </ScrollView>