Skip to content

Commit 26fe2c8

Browse files
committed
set the target widget size in cells too
1 parent 9a5f018 commit 26fe2c8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app/src/main/res/xml/widget_info.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<appwidget-provider
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
43
android:configure="com.simplemobiletools.notes.pro.activities.WidgetConfigureActivity"
54
android:initialLayout="@layout/widget"
5+
android:minWidth="110dp"
66
android:minHeight="110dp"
7-
android:minResizeHeight="40dp"
87
android:minResizeWidth="40dp"
9-
android:minWidth="110dp"
8+
android:minResizeHeight="40dp"
109
android:previewImage="@drawable/img_widget_preview"
11-
android:resizeMode="horizontal|vertical"/>
10+
android:resizeMode="horizontal|vertical"
11+
android:targetCellWidth="2"
12+
android:targetCellHeight="2" />

0 commit comments

Comments
 (0)