Skip to content

Android: a real drop card on the screen edge, Inter type, clearer overlay notice - #6

Merged
MDHaarith merged 1 commit into
mainfrom
ccr-0c7d43a0-9poxk7
Oct 22, 2026
Merged

MDHaarith merged 1 commit into
mainfrom
ccr-0c7d43a0-9poxk7

Conversation

@MDHaarith

Copy link
Copy Markdown
Owner

Why

UI polish on top of 06b7591 (device-targeted drops):

  • The drag tab drew its device list as plain canvas text, with initials in translucent circles. It looked nothing like the rest of the app.
  • Roboto made the app read less like iOS.
  • While the edge handle is on, Android posts an "AirBridge is displaying over other apps" notice that people don't expect.

Changes

Drop card. While something is dragged, the handle now opens into a Compose card (ui/DropTab.kt):

  • Rows: each shows the device avatar and a "My device", "Default" or model label. Your default device comes first, then your own devices.
  • Send to all: shown only when more than one device is nearby.
  • Hover: the row under the finger turns blue, scales up slightly and gives a light haptic tick.
  • No devices yet: a compact "Drop here" tab that reads "Release / to send" while something is over it.
  • Layout: the window size and the mapping from drop position to row both come from DropTabLayout, so they can't drift apart.
  • Window: the handle window is now a FrameLayout holding the pill and the Compose card. The drag and receive-content listeners moved to it unchanged: targets, busy checks, permission grants and onDrop behave exactly as in 06b7591.

Typography. All text now uses Inter (SIL OFL, Latin subset, 4 weights, about 480 KB). Other scripts fall back to the system font. The license is in android/third_party/inter/OFL.txt and credited in the README.

Overlay notice. Settings now explains, under Sending, why Android shows that notice and how to hide it: long-press it, and the handle keeps working. Android posts the notice for every app that draws over others, so the app can't remove it.

The version is now 0.1.2 (code 3).

Drop card (hovering) Left side No devices Home with Inter
''`` '''```

Testing

  • testDebugUnitTest (35 tests, including the Linux interop test), verifyPaparazziDebug with re-recorded screenshots, and assembleRelease all pass locally.
  • I added three screenshot tests for the drop card.
  • Dragging over the real overlay window still needs a check on a phone; there's no emulator in CI.

Generated by Claude Code

…rlay notice

- While something is dragged, the edge handle opens into a card drawn
  with the app's own components instead of canvas text: device avatars,
  "My device" / "Default" labels, "Send to all" only when there are
  several devices, and the row under the finger in blue with a light
  haptic tick. Your default device comes first. With no devices yet it
  is a small "Drop here / Release to send" tab. Row geometry is shared
  between the window size and the drop mapping (DropTabLayout)
- The handle window is now a FrameLayout (pill + compose card); drag and
  receive-content listeners moved to it, behaviour unchanged
- Inter (OFL, Latin subset, 4 weights, ~480 KB) for all text: closer to
  Apple's SF than Roboto
- Settings explains Android's "displaying over other apps" notice while
  the edge handle is on, and how to hide it
- Screenshots: drop card (right, hovering), left side, no devices;
  version 0.1.2 (code 3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165y3zUpEngKKwYegoWXTLK
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T19:01:15.757398Z 58974b4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@MDHaarith
MDHaarith merged commit c29344f into main Oct 22, 2026
6 checks 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.

2 participants