ankidroid / ankidroid/Anki-Android

SOFT_INPUT_ADJUST_RESIZE deprecated in API30

Aperta
#7,110 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Deprecation Help Wanted Keep Open
Lingua principale
Kotlin
Stelle
11.8k
Fork
2.9k
Merge medio
2g 3h
PR unite (30g)
167

Descrizione

The counsel on this one is rather involved:

https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE

> Call Window#setDecorFitsSystemWindows(boolean) with false and install an OnApplyWindowInsetsListener on your root content view that fits insets of type Type#ime().

That's a medium sized restructuring, so just marking the deprecation for now

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.