Skip to content

feat[Multimedia]: Edge to edge support - #21544

Open
criticalAY wants to merge 2 commits into
ankidroid:mainfrom
criticalAY:edge-to-edge-multimedia
Open

feat[Multimedia]: Edge to edge support#21544
criticalAY wants to merge 2 commits into
ankidroid:mainfrom
criticalAY:edge-to-edge-multimedia

Conversation

@criticalAY

Copy link
Copy Markdown
Contributor

Note

Assisted-by: Claude Opus 5

Purpose / Description

Port MultiediaActivity to support edge to edge

Fixes

Approach

See commits

How Has This Been Tested?

API 36 and API 28:
Screenshot_20260817_023323
Screenshot_20260817_023334
Screenshot_20260817_023515
Screenshot_20260817_023527

Learning (optional, can help others)

Describe the research stage

Links to blog posts, patterns, libraries or addons used to solve this problem

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

The activity insets its `AppBarLayout` directly, so the bar's background
 spans the status bar while its content clears it.

The insets below the app bar are applied in `MultimediaFragment`, the
 base class of the only three fragments the activity hosts. They share a
 shape: a card filling the screen above an `action_done` button, so the
 button takes the corner clearance as the bottom-most touch target.

`setTransparentStatusBar` is replaced rather than kept alongside
 `enableEdgeToEdge`. Unlike the screens ported so far, the app bar here is
 the theme's surface colour rather than a saturated one, so the status bar
 icons follow the user's theme as they did before.

Assisted-by: Claude Opus 5
Hosts `AudioRecordingFragment`: the activity renders nothing without a
 fragment name extra, which is why it was skipped in
 `AllActivitiesScreenshotTest`. That skip is replaced by an entry in the
 `handled` set, so the screen is captured once, here.

Assisted-by: Claude Opus 5
@criticalAY
criticalAY force-pushed the edge-to-edge-multimedia branch from b508e55 to 151ab6b Compare August 16, 2026 21:17
@github-actions

github-actions Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Snapshot diff report vs main. Open screenshot-diff for diffs.

  • MultimediaScreenshotTest: 3 changes
All 3 changed screenshots

MultimediaScreenshotTest

  • gesture_navigation_compare.png
  • landscape_compare.png
  • portrait_compare.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edge to edge: verify: MultimediaActivity

1 participant