widgets: port responsiveness back to <31
Post widget responsive behavior back to Android 11 and below. This is not the nicest solution [mostly since the UI flickers when resizing], but it seems to work well enough.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.Widget" parent="@android:style/Theme.DeviceDefault.DayNight">
|
||||
<!-- I really don't care enough to make Auxio's theming correspond to widget theming.
|
||||
It doesn't happen on Android 12 anyway, so why bother backporting it when its so
|
||||
useless. -->
|
||||
<item name="colorPrimary">?android:attr/colorAccent</item>
|
||||
<item name="colorSecondary">?android:attr/colorAccent</item>
|
||||
<item name="colorControlNormal">@color/control_color</item>
|
||||
<item name="colorControlHighlight">?android:attr/colorControlHighlight</item>
|
||||
|
||||
<item name="colorSurface">@color/surface_color</item>
|
||||
<item name="android:windowBackground">?attr/colorSurface</item>
|
||||
<item name="android:colorBackground">?attr/colorSurface</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user