Remove TimePicker and DatePicker dialog themes
Also moves TimePicker widget style to appropriate XML file / namespace. BUG: 14973897 Change-Id: I0eb68a59d8f2800d37cc949c948689d47c34486f
This commit is contained in:
@@ -326,5 +326,8 @@
|
|||||||
<style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle">
|
<style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle">
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="Widget.TimePicker" parent="@*android:style/Widget.Material.Light.TimePicker">
|
||||||
|
<item name="@android:numbersBackgroundColor">@android:color/white</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -105,8 +105,7 @@
|
|||||||
<item name="@*android:errorColor">@color/lock_pattern_view_error_color</item>
|
<item name="@*android:errorColor">@color/lock_pattern_view_error_color</item>
|
||||||
|
|
||||||
<!-- For the TimePicker -->
|
<!-- For the TimePicker -->
|
||||||
<item name="@android:timePickerDialogTheme">@style/Theme.TimePicker</item>
|
<item name="@android:timePickerStyle">@style/Widget.TimePicker</item>
|
||||||
<item name="@android:timePickerStyle">@style/Theme.TimePickerStyle</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.SubSettings" parent="Theme.Settings">
|
<style name="Theme.SubSettings" parent="Theme.Settings">
|
||||||
@@ -188,22 +187,6 @@
|
|||||||
<item name="preferenceBackgroundColor">@android:color/transparent</item>
|
<item name="preferenceBackgroundColor">@android:color/transparent</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.TimePicker" parent="@*android:style/Theme.Material.Light.Dialog.TimePicker">
|
|
||||||
<!-- Used by the ActionBar -->
|
|
||||||
<item name="android:colorPrimary">@color/theme_primary</item>
|
|
||||||
<!-- Used by the StatusBar -->
|
|
||||||
<item name="android:colorPrimaryDark">@color/theme_primary_dark</item>
|
|
||||||
<!-- Used by controls, e.g. CheckBox, ProgressBar, etc. -->
|
|
||||||
<item name="android:colorAccent">@color/theme_accent</item>
|
|
||||||
|
|
||||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
|
||||||
<item name="android:actionBarStyle">@style/Theme.ActionBar</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="Theme.TimePickerStyle" parent="@*android:style/Widget.Material.Light.TimePicker">
|
|
||||||
<item name="@android:numbersBackgroundColor">@android:color/white</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- Used to color the switch bar controls -->
|
<!-- Used to color the switch bar controls -->
|
||||||
<style name="ThemeOverlay.SwitchBar" parent="@android:style/ThemeOverlay">
|
<style name="ThemeOverlay.SwitchBar" parent="@android:style/ThemeOverlay">
|
||||||
<!-- Used by controls, e.g. CheckBox, ProgressBar, etc. -->
|
<!-- Used by controls, e.g. CheckBox, ProgressBar, etc. -->
|
||||||
|
Reference in New Issue
Block a user