ankidroid/Anki-Android

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

Open

#17334 opened on Oct 31, 2024

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

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