开发者

Android layout - Screen wont move up to allow input in EditText at the bottom

开发者 https://www.devze.com 2023-01-09 02:58 出处:网络
Hopefully this is just something easy since I\'m still wet behind the ears with programming for android. My issue is that i have a coupl开发者_StackOverflow中文版e EditText boxes at the bottom of my l

Hopefully this is just something easy since I'm still wet behind the ears with programming for android. My issue is that i have a coupl开发者_StackOverflow中文版e EditText boxes at the bottom of my layout. When in the emulator they work as expected, you touch the edittext and the screen scrolls up so you can see the content. However when i try it on my droid inc the edittext is covered by the keyboard.

See screen captures at links (can't post them since I'm new...)

Droid Screen capture


Try to implement ScrollView so that whenever you added more controls inside any Layout, it will then allows you to scroll up and down.

Have a look at this example , it will sure help you for understanding ScrollView.

0

精彩评论

暂无评论...
验证码 换一张
取 消