ankidroid/Anki-Android

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

Open

#17.334 aperta il 31 ott 2024

Vedi su GitHub
 (9 commenti) (0 reazioni) (1 assegnatario)Kotlin (2789 fork)batch import
DeprecationHelp WantedKeep OpenPriority-HighUI

Metriche repository

Star
 (11.132 star)
Metriche merge PR
 (Merge medio 9g 12h) (93 PR mergiate in 30 g)

Descrizione

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)

Guida contributor