This question has been deleted and is no more available to answer.
1
My app contains Toolbar and EditText but when i focus on the EditText the Soft Keyboard is opened but the Toolbar is got hidden. I want to automatically adjust the height of the app. Can anyone help??

Share using link:

Direct share:

Aug 6 at 10:12:53
Yellow
Yellow
391

1 Answer

1
Simply go to AndroidManifest.xml and add android:windowSoftInputMode="adjustResize" to that activity in which this problem occurs.It will automatically adjust the activity height when the Soft Keyboard is opened. Hope it helps!!!
Aug 6 at 10:15:28
Jude
Jude
476

It works. Thanks !!!!Yellow Daddy Aug 6 at 10:16:58

i was facing the same issue, thanks it works for me as well!!!!Alex Reado Aug 6 at 10:18:18

Asked
2 months ago
Viewed
78 times