Repository navigation
Keep the bottom bar's pill 64 dp and every button as wide as its text, and say what two emulators made of #201 and #202 - #241
Merged
Merged
Conversation
…button sits beside it Every settings page of a reader who does not manage the class drew the pill holding «←» and the page's name 80 dp tall, where the tab bar it morphed from, and the same page with the debug button beside it, drew 64 dp (#240). The two cases go through different Material overloads, and only the one without a button wraps the content in Material's minimumInteractiveBalancedPadding. That modifier reads the interactive alignment lines off the content and pads the pill vertically by twice the amount the side inset exceeds the top one. Since #183 the pill's ends were drawn inside our rows and its top and bottom outside them, so the 48 dp back button's lines said 8 dp from the side and nothing from the top, and Material added 16 dp. All of Material's padding is now drawn inside the rows, on all four sides, so the insets it reads agree and it adds nothing; the pill keeps #183's round ends. With the height fixed, a second difference showed: Material's slot for a button is 80 dp with the pill centred in it, and a bar that wrapped the pill alone was 16 dp shorter and carried its pill 8 dp lower, so the pill would have dropped as settings opened. The bar now keeps that slot's height without a button too, which also keeps the space the shell reserves under the lists the same on every page. ToolbarPillHeightTest measures the pill through a test tag, the only node it has: without a button, back mode and tabs, it is Material's 64 dp container, and its centre is where the pill beside a button has its own. Against the old code the back-mode case read 80 px for 64, and the position case 40 px for 48; the tabs never showed it, because `ToolbarTab` is not an interactive-size node and reports no line. Checked on an API 37 emulator at 420 dpi before and after: the settings pill 210 px, now 168 px, the same as the tab bar's. Not covered: the pill beside the debug button after the fix was not seen on a screen, because the local class gives no manager; Material holds it at 64 dp by construction. Closes #240 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…w on a phone and 30 % of a tablet A short label sat in a box much wider than itself (#242). The back pill's title was never under 100 dp, so «← Sync» was as wide a pill as «← Settings», with a gap after «Sync» about as wide as the word; the selected tab's label was never under 80 dp — the floor #227 kept when it let long labels grow — so «Today», about 39 dp, left the rest of its pill empty. Russian titles are mostly wider than either floor, which is why it went unseen until the app was read in English. Neither floor is there any more. The owner set the ceiling on 2 October 2026: a label or a title grows with its text until, on a tablet (smallest width 600 dp and up), it reaches 30 % of the window, and on a phone until it fills what the row leaves it — the window less the bar's margins, the pill's ends, the back button or the other tabs, and the button beside the pill. Past that it scrolls, as `MarqueeText` already does for a line that does not fit. The documentation's scrolling bar takes the same rule, its spare being the scrolling window less the selected tab's icon, where it was a flat 80 dp. ToolbarLabelFitTest holds five cases: a short title and a short label are as wide as their laid-out line; a long title on a phone fills the window less 32 dp; a long title and a long label on a tablet stop at 300 dp of a 1000 dp window. Against the toolbar before this commit all five were red — 84 px for a 4 px «Sync», a 128 px tab for «Today», 322 px pills where the cap said 379 and 388, a 776 px tab where it said 348. Robolectric lays text out at about a pixel a letter, so the long title is a long string; the comparison is between the box and the line inside it, which one engine measures and draws. ToolbarOverflowTest's marquee-clock note said a label was drawn at a fixed 80 dp; it is drawn at its own width now, which in that test's window is far wider than its eight-letter labels, so none of them can start a marquee. Seen on the API 37 emulator at 420 dpi, in English and in Russian: «Today», «← Sync», «← Settings», «← Настройки», «← Взаимодействие», each pill as wide as its text. Not seen: a tablet — the cap there is held by the test only — and a title long enough to reach the phone's cap. Closes #242 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and the bottom bar's two fixes HANDOVER.md takes this batch on top — #240 and #242 fixed, #201's seal run through an upgrade in place and a reboot on an emulator, #202's release build refusing http:// and reading production over TLS from a second AVD that holds the owner-signed build, #209's splits walked, and how the emulators were driven from a shell on this machine. #239's section moves down a place with its merge SHA, and #234's goes verbatim to the top of docs/history.md. Section 5's bullet on #201 and #202 now says what the emulators saw and what still waits for a phone; the bullet as it stood moves to a new «Moved out of section 5 on 2 October 2026» at the end of the history. The keystore paragraph leaves section 7 for the same reason — the owner gave the key its passwords, and both the local release and the APK workflow's now sign CN=lumenpearson — and the history's introduction says the sections at its end are dated rather than all of 27 September. The Android count is 1587 in HANDOVER.md, the README and docs/architecture.md; milestone 9's row in HANDOVER.md and the github-pr skill names #241, #240 and #242. The README's honest status names the two emulator runs and that no phone has made either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lumenpearson
marked this pull request as ready for review
October 2, 2026 16:14
lumenpearson
added a commit
that referenced
this pull request
Oct 2, 2026
…path HANDOVER.md takes #245 on top — back closing one settings page at a time, the guide returning to the page it was opened from, the back pill naming where back goes, and the room C: was given, item by item, with where each moved item went. #241's section moves down a place with its merge SHA, and #239's goes verbatim to the top of docs/history.md. Section 5 gains what this leaves unseen: nothing composes the shell, so the path is held by its rules and one walk on an emulator. Section 7's note on C: says what was moved to F:\MovedFromC and that it is the owner's to keep. The Android count is 1600 in the three places it lives, and milestone 9's row names #245 and #243–#244. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lumenpearson
added a commit
that referenced
this pull request
Oct 2, 2026
…mation HANDOVER.md takes #248 on top — the selected tab's label revealed rather than squeezed, the five animations that ignored «Анимации» put under it, and the rows and list items that now open, close, fade and slide. #245's section moves down a place with its merge SHA, and #241's goes verbatim to the top of docs/history.md. Section 5 says that the new animations were seen in two frames on an emulator and no more. The Android count is 1609 in its three places; milestone 9's row names #248, #246 and #247. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Two things the owner saw in the bottom bar on 2 October, each filed and then fixed:
This pull request is also the close-out of the session that made it. That session walked what #214 and #239 shipped on two API 37 emulators, and ran #201's Keystore seal and #202's https-only release on a device for the first time.
HANDOVER.mdhas it.Closes #240
Closes #242
What is affected
android/core/designsystem— theme and componentsdocs/,README.md—HANDOVER.md,docs/history.md, the test counts, the README's honest status, thegithub-prskill's milestone rowBoundaries
:core:datadoes not depend on:widgetVerification
./gradlew assembleDebug./gradlew assembleReleaseWhat is NOT covered
ToolbarLabelFitTestchecks the 30 % cap. Nobody has seen a title long enough to reach a phone's cap scroll.Documentation
HANDOVER.md: this batch on top, Give the developer mode a request console for our server and the catalog's diaries #239's moved down, Fix the fifteen visual defects the owner found on a phone on 2 October #234's moved todocs/history.md. Section 5's bullet on Tokens are stored in plain text in the app's DataStore #201/The app permits cleartext HTTP to every host, so a class write token and a diary session cross school Wi-Fi in the clear #202 is rewritten. Section 7's keystore paragraph is moved out, because the owner has done it.HANDOVER.md,README.mdanddocs/architecture.md🤖 Generated with Claude Code