I have a LinearLayout, when user selects my AutoCompleteTextView(ACTW) I want to move the whole layout upwards, so that the ACTW is at the top and there is space between the ACTW and software keyboard for suggestions. 1) How to do this? 2) How to make this animated (but this is not necessary)?
A:
This: <activity android:windowSoftInputMode="adjustPan">
sounds like what you need.
See this page for more info.
mbaird
2010-01-26 15:25:31
This moves the AutoCompleteTextView only if it's hidden by soft. keyboard.
fhucho
2010-01-27 10:22:55
How does that differ from what you need?
mbaird
2010-01-27 14:20:21
Now, the AutoCompleteTextView is about 50px above the software keyboard, so there isn't enough place for the suggestions dropdown (only one suggestion is visible).
fhucho
2010-01-28 11:09:32