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

Commit 2d7a6b0f authored by Shamali P's avatar Shamali P Committed by Shamali Patwa
Browse files

Update the widget picker activity theme for popup menus styling

The earlier version didn't inherit in-built popup styles and launcher
inherits from these too.

Bug: 347288851
Flag: EXEMPT standalone picker
Test: standalone picker will be covered in b/339716822
Change-Id: Ic33afbcea3838a608385e3f94cb864f66cef9e8a
parent 45b5acef
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -312,9 +312,15 @@
        <item name="android:lineHeight">20sp</item>
    </style>

    <style name="WidgetPickerActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
        <item name="widgetsTheme">@style/WidgetContainerTheme</item>
    <style name="WidgetPickerActivityTheme" parent="@android:style/Theme.DeviceDefault.DayNight">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>

        <item name="widgetsTheme">@style/WidgetContainerTheme</item>
        <item name="pageIndicatorDotColor">@color/page_indicator_dot_color_light</item>
    </style>
</resources>
+8 −2
Original line number Diff line number Diff line
@@ -26,9 +26,15 @@
        <item name="android:backgroundDimEnabled">true</item>
    </style>

    <style name="WidgetPickerActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar">
        <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
    <style name="WidgetPickerActivityTheme" parent="@android:style/Theme.DeviceDefault.DayNight">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>

        <item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
        <item name="pageIndicatorDotColor">@color/page_indicator_dot_color_dark</item>
    </style>
</resources>