Skip to content

feat(attach-tray): the 3x2 grid carries Video in the approved tile style - #606

Merged
an1ndra merged 1 commit into
Developfrom
feat/attach-tray-v1-video
Dec 3, 2026
Merged

an1ndra merged 1 commit into
Developfrom
feat/attach-tray-v1-video

Conversation

@an1ndra

@an1ndra an1ndra commented Dec 3, 2026

Copy link
Copy Markdown
Owner

The attach tray is a uniform 3x2 again — Camera, Gallery, Video, Audio, Location and Contact fill the six slots — with the earlier tile styling rather than the flat composer-pill cards: a page-coloured panel, surfaceContainerHighest tiles, one accent per tile cycled from primary/tertiary/secondary, and the icon and corner sized as fractions of the tile.

The composer now holds the tray's slot until the IME actually reaches it. Clearing the swap on the first positive inset dropped it to a partial height while a tall tray closed; the tray script caught the composer below the slot.

Verification

  • ./gradlew testDebugUnitTest green: AttachTrayMetricsTest, AttachTrayMaterialTest, AttachTrayWiringTest, VideoAttachmentTest.
  • scripts/test-attach-tray.sh 28/28 on emulator-5558, including the Video tile and the missing-camera path.
  • Grid measured on device: Camera/Gallery/Video on the first row, Audio/Location/Contact on the second, all six the same size.

Camera, Gallery, Video, Audio, Location and Contact fill the six slots again,
with the earlier look rather than the flat composer-pill cards: a page-coloured
panel, surfaceContainerHighest tiles, one accent per tile cycled from
primary/tertiary/secondary, and the icon and corner sized as fractions of the
tile.

The composer holds the tray's slot until the IME actually reaches it. Clearing
the swap on any positive inset dropped it to a partial height while a tall tray
closed, which the tray script caught as a composer below the slot.

Tests: AttachTrayMetricsTest, AttachTrayMaterialTest and the Video tile in
AttachTrayWiringTest; scripts/test-attach-tray.sh 28/28 on emulator-5558,
including the missing-camera path.
@an1ndra
an1ndra merged commit 203f8b5 into Develop Dec 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant