diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-07-12 09:41:26 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-07-12 09:41:26 +0000 |
| commit | e1d93d9de7a8af3d47fefdb797ae36c7bde555aa (patch) | |
| tree | 436a7b5ea15b0146d624346f720990358d1b73b9 /android/app/src/main/res | |
| parent | 35a84d319d926b57bae82578037ce5e68442cdb1 (diff) | |
feat(widget): add manual refresh button with loading-state icon
Diffstat (limited to 'android/app/src/main/res')
| -rw-r--r-- | android/app/src/main/res/drawable/ic_refresh.xml | 21 | ||||
| -rw-r--r-- | android/app/src/main/res/drawable/ic_refresh_loading.xml | 16 |
2 files changed, 37 insertions, 0 deletions
diff --git a/android/app/src/main/res/drawable/ic_refresh.xml b/android/app/src/main/res/drawable/ic_refresh.xml new file mode 100644 index 0000000..4b67528 --- /dev/null +++ b/android/app/src/main/res/drawable/ic_refresh.xml @@ -0,0 +1,21 @@ +<?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="M4,12 A8,8 0 1,1 7,18" + android:strokeWidth="2" + android:strokeColor="#FFFFFF" + android:fillColor="@android:color/transparent" + android:strokeLineCap="round" + android:strokeLineJoin="round" /> + <path + android:pathData="M4,12 L4,7 L9,7" + 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/drawable/ic_refresh_loading.xml b/android/app/src/main/res/drawable/ic_refresh_loading.xml new file mode 100644 index 0000000..7ad3b2d --- /dev/null +++ b/android/app/src/main/res/drawable/ic_refresh_loading.xml @@ -0,0 +1,16 @@ +<?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="M5,12 m-2,0 a2,2 0 1,1 4,0 a2,2 0 1,1 -4,0" + android:fillColor="#FFFFFF" /> + <path + android:pathData="M12,12 m-2,0 a2,2 0 1,1 4,0 a2,2 0 1,1 -4,0" + android:fillColor="#FFFFFF" /> + <path + android:pathData="M19,12 m-2,0 a2,2 0 1,1 4,0 a2,2 0 1,1 -4,0" + android:fillColor="#FFFFFF" /> +</vector> |
