Skip to content

Commit cd18848

Browse files
committed
About: Add Features section and section titles (Features, Device, Links)
1 parent 0fee10f commit cd18848

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

app/src/main/res/layout/fragment_about.xml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,45 @@
164164
android:orientation="vertical"
165165
android:paddingHorizontal="16dp">
166166

167+
<!-- Features Section -->
168+
<TextView
169+
android:layout_width="wrap_content"
170+
android:layout_height="wrap_content"
171+
android:layout_marginBottom="8dp"
172+
android:text="@string/about_features_title"
173+
android:textSize="13sp"
174+
android:textStyle="bold"
175+
android:textColor="?attr/colorPrimary" />
176+
177+
<com.google.android.material.card.MaterialCardView
178+
android:layout_width="match_parent"
179+
android:layout_height="wrap_content"
180+
android:layout_marginBottom="16dp"
181+
app:cardCornerRadius="12dp"
182+
app:cardElevation="0dp"
183+
app:strokeWidth="1dp"
184+
app:strokeColor="@color/outline">
185+
186+
<TextView
187+
android:layout_width="match_parent"
188+
android:layout_height="wrap_content"
189+
android:padding="14dp"
190+
android:text="@string/about_features_short"
191+
android:textSize="12sp"
192+
android:textColor="@color/on_surface_secondary"
193+
android:lineSpacingExtra="3dp" />
194+
</com.google.android.material.card.MaterialCardView>
195+
196+
<!-- Device Section -->
197+
<TextView
198+
android:layout_width="wrap_content"
199+
android:layout_height="wrap_content"
200+
android:layout_marginBottom="8dp"
201+
android:text="@string/about_system_title"
202+
android:textSize="13sp"
203+
android:textStyle="bold"
204+
android:textColor="?attr/colorPrimary" />
205+
167206
<!-- Device Info Card -->
168207
<com.google.android.material.card.MaterialCardView
169208
android:layout_width="match_parent"
@@ -223,6 +262,16 @@
223262
</LinearLayout>
224263
</com.google.android.material.card.MaterialCardView>
225264

265+
<!-- Links Section -->
266+
<TextView
267+
android:layout_width="wrap_content"
268+
android:layout_height="wrap_content"
269+
android:layout_marginBottom="8dp"
270+
android:text="@string/about_links_title"
271+
android:textSize="13sp"
272+
android:textStyle="bold"
273+
android:textColor="?attr/colorPrimary" />
274+
226275
<!-- Links as compact row -->
227276
<LinearLayout
228277
android:layout_width="match_parent"

0 commit comments

Comments
 (0)