You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Offer a floating ball in place of the navigation bar
An option in the appearance sheet, off by default. With it on there is no bar
and no rail: the suite type becomes NavigationSuiteType.None, which is the part
that makes this worth having at all -- the container is not merely hidden but
never laid out, so the strip it costs every screen comes back as content. On a
small phone reading a log, that strip is the expensive part.
Long-pressing the ball fans the visible panels into an arc around it; keep
dragging to highlight one and release to go there. A plain tap opens the same
arc latched, so each panel is then an ordinary tappable target -- that is the
accessible path, and it is not decoration: a drag-to-select gesture is
invisible to TalkBack, so without it the whole style would be unreachable for
anyone using a screen reader.
It is an ordinary composable drawn over the destination, inside the app window.
Never a system overlay: parasitically this app *is* com.android.shell, and
asking for SYSTEM_ALERT_WINDOW from there is not something we should ever do.
It follows the rule the container already follows -- present at the root of a
panel, gone on a detail screen, which has its own back affordance.
The arc opens inward from whichever edge the ball is parked on and stays inside
the window, including at the corners. Only the side and a fractional height are
persisted, not a coordinate: the ball always snaps to an edge, so an x position
would be a lie the moment the window is a different width, which unfolded and
in landscape it routinely is.
Edit mode overrules the setting for as long as it lasts, since there is nothing
to rearrange otherwise, and the sheet's rearrange row stops being merely a
discoverability aid and becomes the only way in -- there is no bar left to
long-press.
0 commit comments