Nam G VU
Nam G VU

Reputation: 35374

How to make the keyboard overlap the form field

Let's say we have a sample form in an Android Phonegap application (download source code).

The form has a very long list of input text fields.

Every time we focus input on a field, the keyboard is popup and the focused field is scrolled accordingly so that it sits on the top of the keyboard as below snapshot.

enter image description here

My question is: How can we make the form remain/not scroll its fields position - i.e. when we focus a field, the popup keyboard will overlap the bottom of the form no matter what fields it is overlapping?

Upvotes: 0

Views: 1290

Answers (1)

NagarjunaReddy
NagarjunaReddy

Reputation: 8645

Try this. Maybe working but not sure SEE HERE

<activity
   android:windowSoftInputMode="adjustResize"              
   android:name=".youractivity" android:label="@string/app_name" >

Upvotes: 1

Related Questions