2

I am developing an application for android devices, which manages TV channels and shows. In it there is an option for the user to add channels in the system using a custom widget. The widget uses autocompleteTextView. My layout does not adjust itself when the soft keyboard appears.

These are the 2 states of the layout:

The state without keyboard

The state when keyboard appears

The keyboard blocks the user from viewing the options in the dropdown and the field below it. I have already tried the solution here and here. But none of them got it to work.

I want to move the layout of the widget itself, rather then the whole layout behind. How to go about this problem?

Community
  • 1
  • 1
faizanjehangir
  • 2,771
  • 6
  • 45
  • 83
  • Try android:windowSoftInputMode="adjustPan", more options here http://developer.android.com/guide/topics/manifest/activity-element.html --- check the windowSoftInputMode and you have to set this in manifest to your activity – Atul O Holic Apr 12 '14 at 13:05
  • I have already tried `` but its not working – faizanjehangir Apr 12 '14 at 13:08

0 Answers0