Android Soft Keyboard Spoils Layout When Appears
Here is a layout: Copy
or use this code in AndroidManiFest.xml:
<activityandroid:windowSoftInputMode="adjustNothing"></activity>
Solution 2:
Since the input is coming into an EditText
of yours, it's always going to move something.
Consider having two layouts, one for when the keyboard is down, one for when the keyboard is up.
Using a ViewSwitcher
may help with that.
Solution 3:
I think it is because of the LinearLayout that you are using. Can you please change your inner layout with relative layout? In your current situation, keyboard just changes the margins between components because of the linear layout. And change your config with adjustNothing.
Post a Comment for "Android Soft Keyboard Spoils Layout When Appears"