How to adjust layout when soft keyboard appears
问题 I would like to adjust/re-size the layout when the soft-keyboard activated, as below: Before and After: Found couple resources in SO: How to keep all fields and texts visible while the soft keyboard is shown android soft keyboard spoils layout when appears Adjust layout when soft keyboard is on But the questions & answers are rather ambiguous, here\'s the question with clearer picture of what I want. Requirements: It should work on phone with any screen sizes. Noticed that the margin/padding