add clock widget with dual-color time and next alarm
This commit is contained in:
parent
1dbd96d961
commit
2335e6d926
4 changed files with 183 additions and 0 deletions
15
app/src/main/res/xml/clock_widget_info.xml
Normal file
15
app/src/main/res/xml/clock_widget_info.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/clock_widget_description"
|
||||
android:initialLayout="@layout/glance_default_loading_layout"
|
||||
android:minWidth="180dp"
|
||||
android:minHeight="110dp"
|
||||
android:minResizeWidth="110dp"
|
||||
android:minResizeHeight="80dp"
|
||||
android:maxResizeWidth="530dp"
|
||||
android:maxResizeHeight="200dp"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:targetCellWidth="3"
|
||||
android:targetCellHeight="2"
|
||||
android:updatePeriodMillis="60000"
|
||||
android:widgetCategory="home_screen" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue