Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 744c6b22 authored by Alan Viverette's avatar Alan Viverette
Browse files

Remove TimePicker and DatePicker dialog themes

Also moves TimePicker widget style to appropriate XML file / namespace.

BUG: 14973897
Change-Id: I0eb68a59d8f2800d37cc949c948689d47c34486f
parent c4108655
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -326,5 +326,8 @@
    <style name="TextAppearance.ResultTitle" parent="TextAppearance.CategoryTitle">
    </style>

    <style name="Widget.TimePicker" parent="@*android:style/Widget.Material.Light.TimePicker">
        <item name="@android:numbersBackgroundColor">@android:color/white</item>
    </style>

</resources>
+1 −18
Original line number Diff line number Diff line
@@ -105,8 +105,7 @@
        <item name="@*android:errorColor">@color/lock_pattern_view_error_color</item>

        <!-- For the TimePicker -->
        <item name="@android:timePickerDialogTheme">@style/Theme.TimePicker</item>
        <item name="@android:timePickerStyle">@style/Theme.TimePickerStyle</item>
        <item name="@android:timePickerStyle">@style/Widget.TimePicker</item>
    </style>

    <style name="Theme.SubSettings" parent="Theme.Settings">
@@ -188,22 +187,6 @@
        <item name="preferenceBackgroundColor">@android:color/transparent</item>
    </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 -->
    <style name="ThemeOverlay.SwitchBar" parent="@android:style/ThemeOverlay">
        <!-- Used by controls, e.g. CheckBox, ProgressBar, etc. -->