diff options
author | Allan Wang <me@allanwang.ca> | 2019-04-25 13:56:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 13:56:40 -0700 |
commit | 00e04ce269197053a8cd8ae522c95629541181a1 (patch) | |
tree | ff913af0ff20f5d415428ac231372da13b9a6639 /app/src/main/res/xml/notification_widget_info.xml | |
parent | 51e71caf4063702d88ad07b71a2cf9257175f71e (diff) | |
parent | cf152584b544425e0ee3ae28d765dc7e55a196af (diff) | |
download | frost-00e04ce269197053a8cd8ae522c95629541181a1.tar.gz frost-00e04ce269197053a8cd8ae522c95629541181a1.tar.bz2 frost-00e04ce269197053a8cd8ae522c95629541181a1.zip |
Merge pull request #1406 from AllanWang/feature/notif-widget
Feature/notif-widget
Diffstat (limited to 'app/src/main/res/xml/notification_widget_info.xml')
-rw-r--r-- | app/src/main/res/xml/notification_widget_info.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/xml/notification_widget_info.xml b/app/src/main/res/xml/notification_widget_info.xml new file mode 100644 index 00000000..c14bbfb2 --- /dev/null +++ b/app/src/main/res/xml/notification_widget_info.xml @@ -0,0 +1,10 @@ +<?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:minWidth="180dp" + android:minHeight="250dp" + android:previewImage="@drawable/notification_widget_preview" /> |