diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-06-29 02:35:08 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-06-29 02:35:08 +0000 |
| commit | 7b52833b4ab2e5f86d7590683b7eea9559cd42b3 (patch) | |
| tree | 47711bb6cac022a6a3c50ec0346b90cce15e863d /android/app/src/main/res | |
| parent | 6af31b5204dc41feb8a6dabea039e0bf68190136 (diff) | |
feat: Android widget — SlotPacker, WidgetRepository, Workers, Glance UI, SettingsActivity
Diffstat (limited to 'android/app/src/main/res')
| -rw-r--r-- | android/app/src/main/res/drawable/ic_checkbox_empty.xml | 14 | ||||
| -rw-r--r-- | android/app/src/main/res/values/strings.xml | 4 | ||||
| -rw-r--r-- | android/app/src/main/res/xml/widget_info.xml | 13 |
3 files changed, 31 insertions, 0 deletions
diff --git a/android/app/src/main/res/drawable/ic_checkbox_empty.xml b/android/app/src/main/res/drawable/ic_checkbox_empty.xml new file mode 100644 index 0000000..087fc9c --- /dev/null +++ b/android/app/src/main/res/drawable/ic_checkbox_empty.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:pathData="M8,4 L16,4 Q20,4 20,8 L20,16 Q20,20 16,20 L8,20 Q4,20 4,16 L4,8 Q4,4 8,4 Z" + android:strokeWidth="2" + android:strokeColor="#FFFFFF" + android:fillColor="@android:color/transparent" + android:strokeLineCap="round" + android:strokeLineJoin="round" /> +</vector> diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..2e4e6fc --- /dev/null +++ b/android/app/src/main/res/values/strings.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">Doot Widget</string> +</resources> diff --git a/android/app/src/main/res/xml/widget_info.xml b/android/app/src/main/res/xml/widget_info.xml new file mode 100644 index 0000000..a94bcbe --- /dev/null +++ b/android/app/src/main/res/xml/widget_info.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<appwidget-provider + xmlns:android="http://schemas.android.com/apk/res/android" + android:minWidth="250dp" + android:minHeight="250dp" + android:targetCellWidth="4" + android:targetCellHeight="4" + android:updatePeriodMillis="0" + android:configure="org.terst.doot.widget.ui.SettingsActivity" + android:widgetCategory="home_screen" + android:widgetFeatures="reconfigurable|configuration_optional" + android:resizeMode="horizontal|vertical" + android:description="@string/app_name" /> |
