Repository navigation
Pop in the check when picking a theme, voice or Delegator mode - #118
Merged
Merged
Conversation
Picking a theme, a voice or a Delegator mode swapped the check from the old row to the new one in a single frame. The check now comes in through MotionPresence: it scales and fades in on MicroIn and fades out on MicroOut, the same roles as the drawer's selection check. The theme row's empty ring cross-fades with it. Each mark keeps its size, tint and slot, so rows don't change width, and a list that opens with a row selected doesn't animate. TalkBack's selected state is unchanged. Language and the server list are left alone: a language pick restarts the activity, and the server list returns to the connection card. Verified: vm.sh build, vm.sh check :feature:settings; on the emulator, frame by frame at animator scale 5 and at real speed: Themes, Voice (Enable Voice on, then off again) and Delegator (experiment on, then off).
Closed
This branch was previously 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.
Picking a theme, a voice or a Delegator mode moved the check from the old row to the new one in a single frame. Now the new check scales and fades in on MicroIn and the old one fades out on MicroOut, through
MotionPresence. That gives the same look and roles as the drawer's selection check, so a pick reads as one small change instead of a jump. On Themes the empty ring cross-fades with the check.Each mark keeps its size, tint and reserved slot, so rows don't change width.
MotionPresencedoesn't animate on first composition, so lists that open with a row picked, or rows scrolled back into view, show the check at rest. Reduce Motion fades without the scale. TalkBack'sselectedstate is unchanged.Not changed: Language (a pick restarts the activity, so the old list is gone), the server list (a switch returns to the connection card), and the menus in
SettingsMenuRow,AgentPickerandDraftProjects, which close on pick. The theme title still turns semibold when picked, as on iOS.The video zooms on the Themes list, release on top and this branch below, picking two themes at real speed and then at animator scale 5. Checked frame by frame on the emulator (Themes, Voice, Delegator). Not checked on a phone, and the emulator has no GPU, so the amount and timing need a look on a real device.
selection-mark.mp4