diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-06-29 08:08:47 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-06-29 08:08:47 +0000 |
| commit | de3e37cca4f34a30f9c0beef05f67c3d515d64c2 (patch) | |
| tree | 558da8786b5a7a4a07ebe8cd77785844ac669d24 /android/app/src/main/res/values | |
| parent | dacb710fc4ea63baa05cc47016def3849b9db5fa (diff) | |
feat: native bottom sheet for widget task detail
Replaces browser deep-link with a transparent TaskDetailActivity that
shows a Material3 ModalBottomSheet (20-40% screen height). The launcher
shows through the transparent window behind the dark scrim. Sheet shows
source color dot, task title, and Mark Complete button for Todoist tasks.
Tapping outside or swiping down dismisses. No browser involved.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android/app/src/main/res/values')
| -rw-r--r-- | android/app/src/main/res/values/themes.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..ef88823 --- /dev/null +++ b/android/app/src/main/res/values/themes.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Transparent window for TaskDetailActivity so the launcher shows behind the bottom sheet --> + <style name="Theme.TaskDetail" parent="android:Theme.DeviceDefault.NoActionBar"> + <item name="android:windowIsTranslucent">true</item> + <item name="android:windowBackground">@android:color/transparent</item> + <item name="android:windowIsFloating">false</item> + <item name="android:windowNoTitle">true</item> + <item name="android:statusBarColor">@android:color/transparent</item> + </style> +</resources> |
