Android: Move whole layout upwards
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) 开发者_StackOverflow社区How to make this animated (but this is not necessary)?
This: <activity android:windowSoftInputMode="adjustPan">
sounds like what you need.
See this page for more info.
精彩评论