mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
For any view files applying the WidgetConatinerTheme via widgetsTheme they were incorrectly inheriting themes and skipping the AppTheme provided but only in light mode. In dark mode the WidgetContainerTheme.Dark was correctly inheriting the theme. To avoid a risky theme update for all widgetsThemes we just modify the color accessor to use @color instead of ?attr as these colors should not be attributes AFAIKT Bug: b/289305591 Test: Follow repro steps on the bug for smartspace Change-Id: I26cc3239763f8eac3dfe5f094c6757692f46d1bc
8 lines
370 B
XML
8 lines
370 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:shape="rectangle" >
|
|
<solid android:color="@color/material_color_surface_container_highest" />
|
|
<corners
|
|
android:topLeftRadius="?android:attr/dialogCornerRadius"
|
|
android:topRightRadius="?android:attr/dialogCornerRadius" />
|
|
</shape> |