From 8e927621d86eb473e7ddb47006890f6719df0c92 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Thu, 14 Nov 2024 01:45:21 +0100 Subject: [PATCH] Twelve: SettingsLib: Simplify collapsed/expanded text appearance Change-Id: I0b003980a176958c3828e64b9ddb23f8ff766541 --- app/src/main/res/layout/activity_settings.xml | 3 +-- app/src/main/res/values/themes_settingslib.xml | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 0765e3c..4b81aac 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -22,10 +22,9 @@ style="?attr/collapsingToolbarLayoutLargeStyle" android:layout_width="match_parent" android:layout_height="179dp" - app:collapsedTitleTextAppearance="@style/Theme.SettingsLib.ToolbarCollapsedTextAppearance" app:expandedTitleMarginBottom="31dp" app:expandedTitleMarginStart="24dp" - app:expandedTitleTextAppearance="@style/Theme.SettingsLib.ToolbarExpandedTextAppearance" + app:expandedTitleTextAppearance="?attr/textAppearanceDisplaySmall" app:layout_scrollFlags="scroll|exitUntilCollapsed|snap" app:titleCollapseMode="fade" app:toolbarId="@id/toolbar"> diff --git a/app/src/main/res/values/themes_settingslib.xml b/app/src/main/res/values/themes_settingslib.xml index 855b562..ce225b8 100644 --- a/app/src/main/res/values/themes_settingslib.xml +++ b/app/src/main/res/values/themes_settingslib.xml @@ -19,14 +19,6 @@ 16dp - - -