Hayk Nahapetyan
Hayk Nahapetyan

Reputation: 4550

android keyboard influence on the UI

In my android application I have edittext , after focusing on it (touching for input the text) the keyboard is opening and compressing my listView's backgorund. how to fix this? and where I can read more information about keyboard influence on UI? Thanks

Regards Hayk Nahapetyan

Upvotes: 1

Views: 210

Answers (1)

Timothée Jeannin
Timothée Jeannin

Reputation: 9912

You can specify the behavior of the keyboard in the Manifest.xml file.

I suggest you to read the documentation about configChanges and windowSoftInputMode.

You may want to use the adjustPan option for your compressing issue.

adjustPan : The activity's main window is not resized to make room for the soft keyboard. [...]

Upvotes: 1

Related Questions