aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/notification_widget_info.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml/notification_widget_info.xml')
-rw-r--r--app/src/main/res/xml/notification_widget_info.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/src/main/res/xml/notification_widget_info.xml b/app/src/main/res/xml/notification_widget_info.xml
index 2b8b4fb5..c14bbfb2 100644
--- a/app/src/main/res/xml/notification_widget_info.xml
+++ b/app/src/main/res/xml/notification_widget_info.xml
@@ -1,6 +1,10 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?><!--
+For sizing see:
+https://developer.android.com/guide/practices/ui_guidelines/widget_design.html#anatomy_determining_size
+-->
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialKeyguardLayout="@layout/widget_notifications"
android:initialLayout="@layout/widget_notifications"
- android:minHeight="110dp"
- android:minWidth="180dp"/>
+ android:minWidth="180dp"
+ android:minHeight="250dp"
+ android:previewImage="@drawable/notification_widget_preview" />