0 0 0 0


In the layout file of one of my activities I've got 2 inputs at the top and at the bottom and a next button.

The problem is, when keyboard shows, it covers the button. How can I bring the views above keyboard?

Best Answer:

Check this blog post On-screen Input Methods

You can use android:windowSoftInputMode attribute to specify what should happen whether the layout is resized or whether it scrolls.

In your manifest file

<activity name=".YourActivity"

Related questions:

Move layouts up when soft keyboard is shown?

Push up content when clicking in edit text

Android: How do I prevent the soft keyboard from pushing my view up?

How to move the layout up when the soft keyboard is shown android

How to check visibility of software keyboard in Android?

Copyright © 2011 Dowemo All rights reserved.    Creative Commons   AboutUs