Merge "Use colorSecondary for switch bar backgrounds." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
da926355c0
@@ -16,6 +16,6 @@
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?android:attr/colorControlHighlight">
|
||||
<item android:drawable="?attr/colorSecondary" />
|
||||
<item android:drawable="?android:attr/colorSecondary" />
|
||||
</ripple>
|
||||
|
||||
|
@@ -121,8 +121,6 @@
|
||||
<attr name="switchBarMarginEnd" format="dimension" />
|
||||
<attr name="switchBarBackgroundColor" format="color" />
|
||||
|
||||
<attr name="colorSecondary" format="color" />
|
||||
|
||||
<attr name="preferenceBackgroundColor" format="color" />
|
||||
|
||||
<!-- Confirm device credentials screen -->
|
||||
|
@@ -124,8 +124,6 @@
|
||||
|
||||
<color name="card_background_grey">#eeeeee</color>
|
||||
|
||||
<color name="secondary_color">#ff37474f</color>
|
||||
|
||||
<!-- Gestures settings -->
|
||||
<color name="gestures_setting_backgroud_color">#f5f5f5</color>
|
||||
|
||||
|
@@ -129,9 +129,7 @@
|
||||
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
|
||||
directly. So use #ff263238 instead of @color/theme_primary and so on. -->
|
||||
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings">
|
||||
<item name="colorSecondary">@color/secondary_color</item>
|
||||
</style>
|
||||
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" />
|
||||
|
||||
<style name="Theme.Settings" parent="Theme.SettingsBase">
|
||||
<item name="preferenceTheme">@style/PreferenceTheme</item>
|
||||
@@ -196,17 +194,16 @@
|
||||
<style name="ThemeOverlay.SwitchBar.Settings" parent="@*android:style/ThemeOverlay.DeviceDefault.Dark.ActionBar.Accent">
|
||||
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</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 name="ThemeOverlay.SwitchBar.SubSettings" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar">
|
||||
<item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</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 name="Theme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Settings.DialogWhenLarge">
|
||||
<item name="colorSecondary">@color/secondary_color</item>
|
||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||
<item name="android:actionBarStyle">@style/Theme.ActionBar</item>
|
||||
|
||||
|
Reference in New Issue
Block a user