Skip to content

Commit 477283f

Browse files
committed
Adjust Refresh Rate of Widget
1 parent 63d7d50 commit 477283f

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:description="@string/app_widget_description"
4+
android:initialKeyguardLayout="@layout/calendar_widget"
5+
android:initialLayout="@layout/calendar_widget"
6+
android:minWidth="270dp"
7+
android:minHeight="110dp"
8+
android:minResizeWidth="270dp"
9+
android:minResizeHeight="110dp"
10+
android:previewImage="@drawable/appwidget_preview"
11+
android:resizeMode="horizontal|vertical"
12+
android:updatePeriodMillis="600000"
13+
android:widgetCategory="home_screen" />

android/app/src/main/res/xml/calendar_widget_info.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
android:minResizeWidth="270dp"
99
android:minResizeHeight="110dp"
1010
android:previewImage="@drawable/appwidget_preview"
11-
android:previewLayout="@layout/calendar_widget"
1211
android:resizeMode="horizontal|vertical"
13-
android:updatePeriodMillis="86400000"
14-
android:widgetCategory="home_screen" /><!-- android:targetCellWidth="1"
15-
android:targetCellHeight="1" -->
12+
android:updatePeriodMillis="600000"
13+
android:widgetCategory="home_screen" />

0 commit comments

Comments
 (0)