From b4330d7ac345bb445ba48e373d07fe6801a6117d Mon Sep 17 00:00:00 2001 From: Fred <76-fgerber@users.noreply.shinice.net> Date: Sat, 27 Jan 2024 00:14:40 +0100 Subject: [PATCH] Organize settings more consistently --- app/src/main/res/drawable/rounded_colors.xml | 5 + app/src/main/res/values/strings.xml | 1 + app/src/main/res/xml/root_preferences.xml | 105 ++++++++++--------- 3 files changed, 60 insertions(+), 51 deletions(-) create mode 100644 app/src/main/res/drawable/rounded_colors.xml diff --git a/app/src/main/res/drawable/rounded_colors.xml b/app/src/main/res/drawable/rounded_colors.xml new file mode 100644 index 00000000..d8f08936 --- /dev/null +++ b/app/src/main/res/drawable/rounded_colors.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6042f433..a56a84b2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -350,4 +350,5 @@ For more info about Pixelfed, you can check here: https://pixelfed.org" Story Duration Arrange tabs Change visibility and order of tabs + Content diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml index 590b3a10..346a5135 100644 --- a/app/src/main/res/xml/root_preferences.xml +++ b/app/src/main/res/xml/root_preferences.xml @@ -17,61 +17,64 @@ android:title="@string/accentColorTitle" android:key="themeColor" android:defaultValue="0" - android:summary="@string/accentColorSummary" /> + android:summary="@string/accentColorSummary" + app:icon="@drawable/rounded_colors"/> + + - + + - + - - - - - + - + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +