Launcher: blank home with added apps and widgets, swipe-down drawer

The home screen now starts empty under the clock. Long-press it to add
apps (the drawer opens in a pick mode) or widgets, and long-press a slot
to move or remove it. Swiping down opens the drawer with every app and a
search; long-press there adds an app to home, swipe up closes it.

Widgets are real AppWidgetHostViews layered over the WebView at the
slots the page reports after each render, with Android's bind and
configure screens on add and native long-press for their menu.

ultra gains on_longpress(msg, arg) for this.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019EEjkJVV72Lu8ndDVWg5BT
This commit is contained in:
Claude committed 2026-10-21 18:01:25 +00:00
1 parent f766453bba
commit 3ed5afbafc
9 files changed
+1032 -236

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ android {
}
androidResources {
// app.py is the LPython source and apps.json is the browser demo's stand-in.
ignoreAssetsPattern = "!app.py:!apps.json:!__pycache__:!.*"
// app.py is the LPython source; apps.json and widgets.json are the browser demo's stand-ins.
ignoreAssetsPattern = "!app.py:!apps.json:!widgets.json:!__pycache__:!.*"
}
buildTypes {