Open Jumman04 opened 5 months ago
I post on StackOverflow how to solve this bug. I've found several answers, though they fail to fully resolve.
Try android:windowSoftInputMode="adjustNothing"
in the Manifest on your Activity.
@bubbleguuum Sorry for my late reply. I also tried this way, but doesn't work.
কিরে ভাই কোনো সমাধান হইল কি?
Description: I have built a custom dialog with MaterialAlertDialogBuilder. The dialog has 2 TextInputLayouts. The problem is when I try to write something in the TextInputEditText and when the keyboard is visible, the MaterialAlertDialogBuilder shrinks in height.
Expected behavior: I want to prevent automatic resizing of MaterialAlertDialogBuilder height when the keyboard is open.
Source code: In XML:
In Kotlin:
Android API version: 33
Material Library version: 1.11.0
Device: Symphony i69, Display 5.7″ (1440 x 720 pixels)
Screen Record:
https://github.com/material-components/material-components-android/assets/113237846/33b14826-cb9d-459b-8ea3-85b1611ef89a