ankidroid/Anki-Android

Forward-port UI to new edge-to-edge for API35

Open

#17,334 opened on Oct 31, 2024

View on GitHub
 (8 comments) (0 reactions) (1 assignee)Kotlin (2,789 forks)batch import
DeprecationHelp WantedKeep OpenPriority-HighUI

Repository metrics

Stars
 (11,132 stars)
PR merge metrics
 (Avg merge 9d 4h) (123 merged PRs in 30d)

Description

Related targetSdk 35 bump with deprecation suppression that needs handling:

  • #17333

New upstream edge-to-edge UI thing for apps that either target SDK 35 or specifically opt in:

https://developer.android.com/develop/ui/views/layout/edge-to-edge

Successful resolution of this issue is when:

  • we use insets and colors correctly + well such that the app is beautiful while edge-to-edge
  • and all of the app UI elements are available / not occluded by device hardware items (pinhole cameras, notches etc)

Contributor guide