widgets: fix layout issues

Fix an issue in the responsive layout backport where padding was not
factored into the calculations. This was the original issue that I
thought I fixed in e81d4b6d, but this fix seems to work alot better
from the launchers I tested [Trebuchet/Launcher3, Lawnchair].
This commit is contained in:
OxygenCobalt
2021-08-06 19:02:57 -06:00
parent a566a30c15
commit 3a01a13b9d
4 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:description="@string/info_widget_desc"
android:initialLayout="@layout/widget_small"
android:minResizeWidth="110dp"
android:minResizeWidth="180dp"
android:minResizeHeight="110dp"
android:previewLayout="@layout/widget_small"
android:resizeMode="horizontal|vertical"