widget: re-introduce <31 elevation
The pre-Android 12 padding option was removed previously, but I've decided to re-add it for stylistic cohesion with the material design of those versions.
This commit is contained in:
@@ -64,11 +64,15 @@
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Component.AppWidget.Panel" parent="">
|
||||
<style name="Widget.Component.AppWidget.Panel.Base" parent="">
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:padding">@dimen/spacing_medium</item>
|
||||
<item name="android:orientation">vertical</item>
|
||||
<item name="android:background">?attr/colorSurface</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Component.AppWidget.Panel" parent="Widget.Component.AppWidget.Panel.Base">
|
||||
<item name="android:elevation">@dimen/elevation_normal</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user