takisoft / preferencex-android

Android's "androidx.preference" library has some issues, this lib tries to fix them.
Apache License 2.0
55 stars 10 forks source link

Shrinking dialog #3

Closed Pitel closed 5 years ago

Pitel commented 5 years ago

On small screens, when the keyboard is shown, the EditText shrinks so it becomes invisible.

Invisible EditText

Pitel commented 5 years ago

windowTranslucentStatus was the cause. Solution is to fix the theme for dialog:

<style name="DialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
    <item name="android:windowTranslucentStatus" tools:targetApi="kitkat">false</item>
</style>