aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/settings.xml')
-rw-r--r--app/src/main/res/layout/settings.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/layout/settings.xml b/app/src/main/res/layout/settings.xml
index 5d4e450..76f706b 100644
--- a/app/src/main/res/layout/settings.xml
+++ b/app/src/main/res/layout/settings.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Title lives in the layout, not in an action bar: the window is
+ edge-to-edge, so Ui.padForInsets() on this root is what keeps the
+ content clear of the system bars. -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/root"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -10,6 +14,15 @@
android:padding="@dimen/space_lg">
<TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/space_lg"
+ android:text="@string/settings"
+ android:textColor="@color/on_surface"
+ android:textSize="22sp"
+ android:textStyle="bold"/>
+
+ <TextView
style="@style/Note"
android:layout_width="match_parent"
android:layout_height="wrap_content"