fragment_about.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/coordinator_about"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="?attr/colorSurface">
  9. <com.google.android.material.appbar.AppBarLayout
  10. android:id="@+id/appbar_about"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:fitsSystemWindows="true">
  14. <com.google.android.material.appbar.MaterialToolbar
  15. android:id="@+id/toolbar_about"
  16. android:layout_width="match_parent"
  17. android:layout_height="?attr/actionBarSize"
  18. app:navigationIcon="@drawable/ic_back"
  19. app:title="@string/about" />
  20. </com.google.android.material.appbar.AppBarLayout>
  21. <androidx.core.widget.NestedScrollView
  22. android:id="@+id/scroll_about"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:fadeScrollbars="false"
  26. android:scrollbars="vertical"
  27. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  28. <LinearLayout
  29. android:id="@+id/content_about"
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:orientation="horizontal">
  33. <ImageView
  34. android:id="@+id/image_logo"
  35. android:layout_width="200dp"
  36. android:layout_height="200dp"
  37. android:layout_gravity="center_horizontal"
  38. android:padding="20dp"
  39. android:src="@drawable/ic_yuzu_title" />
  40. <LinearLayout
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:orientation="vertical">
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:orientation="vertical"
  48. android:paddingHorizontal="16dp"
  49. android:paddingVertical="16dp">
  50. <com.google.android.material.textview.MaterialTextView
  51. style="@style/TextAppearance.Material3.TitleMedium"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_marginHorizontal="24dp"
  55. android:text="@string/about"
  56. android:textAlignment="viewStart" />
  57. <com.google.android.material.textview.MaterialTextView
  58. style="@style/TextAppearance.Material3.BodyMedium"
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. android:layout_marginHorizontal="24dp"
  62. android:layout_marginTop="6dp"
  63. android:text="@string/about_app_description"
  64. android:textAlignment="viewStart" />
  65. </LinearLayout>
  66. <com.google.android.material.divider.MaterialDivider
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_marginHorizontal="20dp" />
  70. <LinearLayout
  71. android:id="@+id/button_contributors"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:background="?attr/selectableItemBackground"
  75. android:orientation="vertical"
  76. android:paddingHorizontal="16dp"
  77. android:paddingVertical="16dp">
  78. <com.google.android.material.textview.MaterialTextView
  79. style="@style/TextAppearance.Material3.TitleMedium"
  80. android:layout_width="match_parent"
  81. android:layout_height="wrap_content"
  82. android:layout_marginHorizontal="24dp"
  83. android:text="@string/contributors"
  84. android:textAlignment="viewStart" />
  85. <com.google.android.material.textview.MaterialTextView
  86. style="@style/TextAppearance.Material3.BodyMedium"
  87. android:layout_width="match_parent"
  88. android:layout_height="wrap_content"
  89. android:layout_marginHorizontal="24dp"
  90. android:layout_marginTop="6dp"
  91. android:text="@string/contributors_description"
  92. android:textAlignment="viewStart" />
  93. </LinearLayout>
  94. <com.google.android.material.divider.MaterialDivider
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:layout_marginHorizontal="20dp" />
  98. <LinearLayout
  99. android:id="@+id/button_licenses"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content"
  102. android:background="?attr/selectableItemBackground"
  103. android:orientation="vertical"
  104. android:paddingHorizontal="16dp"
  105. android:paddingVertical="16dp">
  106. <com.google.android.material.textview.MaterialTextView
  107. style="@style/TextAppearance.Material3.TitleMedium"
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content"
  110. android:layout_marginHorizontal="24dp"
  111. android:text="@string/licenses"
  112. android:textAlignment="viewStart" />
  113. <com.google.android.material.textview.MaterialTextView
  114. style="@style/TextAppearance.Material3.BodyMedium"
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:layout_marginHorizontal="24dp"
  118. android:layout_marginTop="6dp"
  119. android:text="@string/licenses_description"
  120. android:textAlignment="viewStart" />
  121. </LinearLayout>
  122. <com.google.android.material.divider.MaterialDivider
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:layout_marginHorizontal="20dp" />
  126. <LinearLayout
  127. android:id="@+id/button_build_hash"
  128. android:layout_width="match_parent"
  129. android:layout_height="wrap_content"
  130. android:background="?attr/selectableItemBackground"
  131. android:orientation="vertical"
  132. android:paddingHorizontal="16dp"
  133. android:paddingVertical="16dp">
  134. <com.google.android.material.textview.MaterialTextView
  135. style="@style/TextAppearance.Material3.TitleMedium"
  136. android:layout_width="match_parent"
  137. android:layout_height="wrap_content"
  138. android:layout_marginHorizontal="24dp"
  139. android:text="@string/build"
  140. android:textAlignment="viewStart" />
  141. <com.google.android.material.textview.MaterialTextView
  142. android:id="@+id/text_build_hash"
  143. style="@style/TextAppearance.Material3.BodyMedium"
  144. android:layout_width="match_parent"
  145. android:layout_height="wrap_content"
  146. android:layout_marginHorizontal="24dp"
  147. android:layout_marginTop="6dp"
  148. android:textAlignment="viewStart"
  149. tools:text="abc123" />
  150. </LinearLayout>
  151. <com.google.android.material.divider.MaterialDivider
  152. android:layout_width="match_parent"
  153. android:layout_height="wrap_content"
  154. android:layout_marginHorizontal="20dp" />
  155. <LinearLayout
  156. android:layout_width="match_parent"
  157. android:layout_height="wrap_content"
  158. android:layout_marginHorizontal="40dp"
  159. android:layout_marginTop="12dp"
  160. android:layout_marginBottom="16dp"
  161. android:gravity="center_horizontal"
  162. android:orientation="horizontal">
  163. <Button
  164. android:id="@+id/button_discord"
  165. style="?attr/materialIconButtonStyle"
  166. android:layout_width="0dp"
  167. android:layout_height="wrap_content"
  168. android:layout_weight="1"
  169. app:icon="@drawable/ic_discord"
  170. app:iconGravity="textEnd"
  171. app:iconSize="24dp"
  172. app:iconTint="?attr/colorOnSurface" />
  173. <Button
  174. android:id="@+id/button_website"
  175. style="?attr/materialIconButtonStyle"
  176. android:layout_width="0dp"
  177. android:layout_height="wrap_content"
  178. android:layout_weight="1"
  179. app:icon="@drawable/ic_website"
  180. app:iconGravity="textEnd"
  181. app:iconSize="24dp"
  182. app:iconTint="?attr/colorOnSurface" />
  183. <Button
  184. android:id="@+id/button_github"
  185. style="?attr/materialIconButtonStyle"
  186. android:layout_width="0dp"
  187. android:layout_height="wrap_content"
  188. android:layout_weight="1"
  189. app:icon="@drawable/ic_github"
  190. app:iconGravity="textEnd"
  191. app:iconSize="24dp"
  192. app:iconTint="?attr/colorOnSurface" />
  193. </LinearLayout>
  194. </LinearLayout>
  195. </LinearLayout>
  196. </androidx.core.widget.NestedScrollView>
  197. </androidx.coordinatorlayout.widget.CoordinatorLayout>