diff --git a/app/src/main/res/drawable-night/preference_card_bottom.xml b/app/src/main/res/drawable-night/preference_card_bottom.xml deleted file mode 100644 index 904b923..0000000 --- a/app/src/main/res/drawable-night/preference_card_bottom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable-night/preference_card_center.xml b/app/src/main/res/drawable-night/preference_card_center.xml deleted file mode 100644 index 021021e..0000000 --- a/app/src/main/res/drawable-night/preference_card_center.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable-night/preference_card_top.xml b/app/src/main/res/drawable-night/preference_card_top.xml deleted file mode 100644 index aa3e76d..0000000 --- a/app/src/main/res/drawable-night/preference_card_top.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/preference_card_bottom.xml b/app/src/main/res/drawable/preference_card_bottom.xml index 560cd2e..0f38887 100644 --- a/app/src/main/res/drawable/preference_card_bottom.xml +++ b/app/src/main/res/drawable/preference_card_bottom.xml @@ -4,11 +4,11 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/preference_card_center.xml b/app/src/main/res/drawable/preference_card_center.xml index ac66d1c..9ee107c 100644 --- a/app/src/main/res/drawable/preference_card_center.xml +++ b/app/src/main/res/drawable/preference_card_center.xml @@ -8,7 +8,7 @@ android:bottomRightRadius="8dp" android:topLeftRadius="8dp" android:topRightRadius="8dp" /> - + \ No newline at end of file diff --git a/app/src/main/res/drawable/preference_card_top.xml b/app/src/main/res/drawable/preference_card_top.xml index bea1627..eeb8291 100644 --- a/app/src/main/res/drawable/preference_card_top.xml +++ b/app/src/main/res/drawable/preference_card_top.xml @@ -6,9 +6,9 @@ - + android:topLeftRadius="16dp" + android:topRightRadius="16dp" /> + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index c9b6c7f..9291ea6 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -16,8 +16,9 @@ style="?attr/collapsingToolbarLayoutMediumStyle" android:layout_width="match_parent" android:layout_height="?attr/collapsingToolbarLayoutMediumSize" - android:background="?android:colorBackground" - app:contentScrim="?android:attr/colorBackground" + app:collapsedTitleGravity="center" + app:expandedTitleMarginEnd="22dp" + app:expandedTitleMarginStart="22dp" app:expandedTitleTextAppearance="?attr/textAppearanceHeadlineMedium" app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"> diff --git a/app/src/main/res/layout/preference_material_bottom.xml b/app/src/main/res/layout/preference_material_bottom.xml index 4838c9c..cf3b3b1 100644 --- a/app/src/main/res/layout/preference_material_bottom.xml +++ b/app/src/main/res/layout/preference_material_bottom.xml @@ -21,14 +21,15 @@ android:layout_marginEnd="16dp" android:layout_marginBottom="20dp" android:importantForAccessibility="no" - app:tint="?attr/colorOnSurface" /> + app:tint="?android:textColorPrimary" /> @@ -36,15 +37,15 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:ellipsize="marquee" + android:maxLines="8" /> + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/preference_material_center.xml b/app/src/main/res/layout/preference_material_middle.xml similarity index 85% rename from app/src/main/res/layout/preference_material_center.xml rename to app/src/main/res/layout/preference_material_middle.xml index 74224db..f1f218a 100644 --- a/app/src/main/res/layout/preference_material_center.xml +++ b/app/src/main/res/layout/preference_material_middle.xml @@ -23,14 +23,15 @@ android:layout_marginEnd="16dp" android:layout_marginBottom="20dp" android:importantForAccessibility="no" - app:tint="?attr/colorOnSurface" /> + app:tint="?android:textColorPrimary" /> @@ -38,15 +39,14 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:maxLines="8" /> @@ -35,15 +36,14 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:maxLines="8" /> @@ -35,15 +36,14 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:maxLines="8" /> @@ -35,15 +35,14 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:maxLines="8" /> + app:tint="?android:textColorPrimary" /> @@ -37,15 +37,14 @@ android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="?attr/colorOnSurface" - android:textSize="16sp" /> + android:maxLines="2" + android:textAppearance="?android:textAppearanceListItem" /> + android:maxLines="8" /> ?colorPrimary - @color/md_theme_surface @style/Theme.AlertDialog @style/Theme.SwitchPreferenceCompat @@ -32,6 +31,7 @@ @color/md_theme_errorContainer @color/md_theme_onErrorContainer @color/md_theme_onBackground + @color/md_theme_background @color/md_theme_surface @color/md_theme_onSurface @color/md_theme_surfaceVariant @@ -61,9 +61,9 @@ @color/md_theme_surfaceContainerHigh @color/md_theme_surfaceContainerHighest - 28dp - 28dp - 28dp - 28dp + 17dp + 17dp + 17dp + 17dp \ No newline at end of file diff --git a/app/src/main/res/values-night-v31/themes.xml b/app/src/main/res/values-night-v31/themes.xml index d65277e..98f63fc 100644 --- a/app/src/main/res/values-night-v31/themes.xml +++ b/app/src/main/res/values-night-v31/themes.xml @@ -4,7 +4,6 @@ diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index 18e6725..5af9576 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -4,7 +4,6 @@ \ No newline at end of file diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml index 74bd5e4..854d420 100644 --- a/app/src/main/res/values-v27/themes.xml +++ b/app/src/main/res/values-v27/themes.xml @@ -4,7 +4,6 @@ \ No newline at end of file diff --git a/app/src/main/res/values-v31/themes.xml b/app/src/main/res/values-v31/themes.xml index 5e0bdf5..b70daa0 100644 --- a/app/src/main/res/values-v31/themes.xml +++ b/app/src/main/res/values-v31/themes.xml @@ -4,7 +4,6 @@ diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 117f1d0..ccadc35 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -26,7 +26,6 @@ diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index c5103ad..ff64266 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -3,9 +3,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> + app:allowDividerAbove="false" /> + android:title="@string/assistant" /> + android:title="@string/weather" /> + android:title="@string/password" /> + android:title="@string/games" /> + android:title="@string/music_search_quick_settings" /> + app:allowDividerAbove="false" /> + android:title="@string/pref_device_game_manager" /> + android:title="@string/pref_password_manager_root" /> + android:title="@string/pref_show_settings" /> + app:allowDividerAbove="false" /> + android:title="@string/pref_wstxda" /> + android:title="@string/pref_github" /> + android:title="@string/pref_version" /> \ No newline at end of file