|
|
|
@@ -129,9 +129,7 @@
|
|
|
|
layouts against a remote context using our local theme colors. Due to the implementation
|
|
|
|
layouts against a remote context using our local theme colors. Due to the implementation
|
|
|
|
details of Theme, we can't reference any local resources and MUST instead use the values
|
|
|
|
details of Theme, we can't reference any local resources and MUST instead use the values
|
|
|
|
directly. So use #ff263238 instead of @color/theme_primary and so on. -->
|
|
|
|
directly. So use #ff263238 instead of @color/theme_primary and so on. -->
|
|
|
|
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings">
|
|
|
|
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" />
|
|
|
|
<item name="colorSecondary">@color/secondary_color</item>
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style name="Theme.Settings" parent="Theme.SettingsBase">
|
|
|
|
<style name="Theme.Settings" parent="Theme.SettingsBase">
|
|
|
|
<item name="preferenceTheme">@style/PreferenceTheme</item>
|
|
|
|
<item name="preferenceTheme">@style/PreferenceTheme</item>
|
|
|
|
@@ -196,17 +194,16 @@
|
|
|
|
<style name="ThemeOverlay.SwitchBar.Settings" parent="@*android:style/ThemeOverlay.DeviceDefault.Dark.ActionBar.Accent">
|
|
|
|
<style name="ThemeOverlay.SwitchBar.Settings" parent="@*android:style/ThemeOverlay.DeviceDefault.Dark.ActionBar.Accent">
|
|
|
|
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item>
|
|
|
|
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item>
|
|
|
|
<item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item>
|
|
|
|
<item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item>
|
|
|
|
<item name="switchBarBackgroundColor">?attr/colorSecondary</item>
|
|
|
|
<item name="switchBarBackgroundColor">?android:attr/colorSecondary</item>
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.SwitchBar.SubSettings" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar">
|
|
|
|
<style name="ThemeOverlay.SwitchBar.SubSettings" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar">
|
|
|
|
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item>
|
|
|
|
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item>
|
|
|
|
<item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item>
|
|
|
|
<item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item>
|
|
|
|
<item name="switchBarBackgroundColor">?attr/colorSecondary</item>
|
|
|
|
<item name="switchBarBackgroundColor">?android:attr/colorSecondary</item>
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<style name="Theme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Settings.DialogWhenLarge">
|
|
|
|
<style name="Theme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Settings.DialogWhenLarge">
|
|
|
|
<item name="colorSecondary">@color/secondary_color</item>
|
|
|
|
|
|
|
|
<!-- Redefine the ActionBar style for contentInsetStart -->
|
|
|
|
<!-- Redefine the ActionBar style for contentInsetStart -->
|
|
|
|
<item name="android:actionBarStyle">@style/Theme.ActionBar</item>
|
|
|
|
<item name="android:actionBarStyle">@style/Theme.ActionBar</item>
|
|
|
|
|
|
|
|
|
|
|
|
|