mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 22:40:32 +00:00
Specify widget target cell sizes
This commit is contained in:
parent
21deb1ff69
commit
a256491493
3 changed files with 33 additions and 0 deletions
11
app/src/main/res/xml-v31/widget.xml
Normal file
11
app/src/main/res/xml-v31/widget.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:configure="eu.faircode.email.ActivityWidget"
|
||||
android:initialLayout="@layout/widget_new"
|
||||
android:previewImage="@drawable/widget_preview_new"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:targetCellWidth="1"
|
||||
android:targetCellHeight="1"
|
||||
android:updatePeriodMillis="0"
|
||||
android:widgetCategory="home_screen"
|
||||
android:widgetFeatures="reconfigurable" />
|
11
app/src/main/res/xml-v31/widget_sync.xml
Normal file
11
app/src/main/res/xml-v31/widget_sync.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:configure="eu.faircode.email.ActivityWidgetSync"
|
||||
android:initialLayout="@layout/widget_sync"
|
||||
android:previewImage="@drawable/widget_preview_sync"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:targetCellWidth="1"
|
||||
android:targetCellHeight="1"
|
||||
android:updatePeriodMillis="0"
|
||||
android:widgetCategory="home_screen"
|
||||
android:widgetFeatures="reconfigurable" />
|
11
app/src/main/res/xml-v31/widget_unified.xml
Normal file
11
app/src/main/res/xml-v31/widget_unified.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:configure="eu.faircode.email.ActivityWidgetUnified"
|
||||
android:initialLayout="@layout/widget_unified"
|
||||
android:previewImage="@drawable/widget_preview_unified"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:targetCellWidth="2"
|
||||
android:targetCellHeight="2"
|
||||
android:updatePeriodMillis="0"
|
||||
android:widgetCategory="home_screen"
|
||||
android:widgetFeatures="reconfigurable" />
|
Loading…
Reference in a new issue