ailabstw / ailabstw/social-distancing-android

Setting requestedOrientation to ActivityInfo.SCREEN_ORIENTATION_PORTRAIT may cause incompatibility on large screen devices

Offen
#13 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Kotlin
Sterne
91
Forks
53
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

https://github.com/ailabstw/social-distancing-android/blob/c7179d943bc242a8eca2fd1cc4eda0f62523e7b3/SocialDistance/src/main/java/tw/gov/cdc/exposurenotifications/activity/BaseActivity.kt#L25

Any reason of forcing portrait mode?
It is possible that if a foldable device unfold, the screen will be in landscape mode.

Ref: https://developer.android.com/guide/topics/ui/foldables

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.