Skip to content

feat[AccountActivity]: Edge to edge support - #21546

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

feat[AccountActivity]: Edge to edge support#21546
criticalAY wants to merge 2 commits into
ankidroid:mainfrom
criticalAY:edge-to-edge-account

Conversation

@criticalAY

@criticalAY criticalAY commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Note

Assisted-by: Claude Opus 5

Purpose / Description

Fixes

Approach

See commits

How Has This Been Tested?

API 36 and API 28:
Screenshot_20260817_034205
Screenshot_20260817_034214
Screenshot_20260817_034246
Screenshot_20260817_034302

Learning (optional, can help others)

NA

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

@github-actions

github-actions Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

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

  • AccountActivityScreenshotTest: 4 changes
All 4 changed screenshots

AccountActivityScreenshotTest

  • logged_in_compare.png
  • logged_out_compare.png
  • logged_out_gesture_navigation_compare.png
  • logged_out_landscape_compare.png

Both fragments own their toolbar and content, so each insets its own root

The toolbar is wrapped in a container rather than padded directly, since
 its `minHeight` would absorb the padding and the bar would lose height.
 `fitsSystemWindows` is removed from both roots: it handles neither side
 insets nor rounded display corners.

The app bar is the theme's surface colour rather than a saturated one, so
 the status bar icons follow the user's theme, as the inherited
 `setTransparentStatusBar` already did.

Assisted-by: Claude Opus 5
Assisted-by: Claude Opus 5
@criticalAY
criticalAY force-pushed the edge-to-edge-account branch from e810d73 to 2a4de7b Compare August 18, 2026 11:25

@lukstbit lukstbit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

enableEdgeToEdge(
statusBarStyle =
SystemBarStyle.auto(Color.TRANSPARENT, Color.TRANSPARENT) {
Themes.currentTheme is NightTheme

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that important but there's a property for this already: Themes.isNightTheme.

@lukstbit lukstbit added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Second Approval Has one approval, one more approval to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edge to edge: verify AccountActivity

2 participants