• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stop keyboard from overlapping text fields - Android  RSS feed

 
Greenhorn
Posts: 26
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am making a contact book application. Update Contact activity is responsible for updating existing contacts' details.

Following image is the interface of update contact activity



when i clicked on any text field, android device keyboard overlapped the text fields. So to fix that issue, i added following line of code to update activity in manifest file

After adding the above line i got the following interface when name field was clicked on


Problem
Currently , phone field is displayed over the keyboard only when it is clicked on or when i move the cursor from name field to phone field.
I want the phone field to be above the keyboard as well even when name field is clicked on. How can i achieve this ?
Following image is what i want when name field is clicked on
 
Ranch Foreman
Posts: 470
3
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tried with
 
yousaf khan
Greenhorn
Posts: 26
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

John Joe wrote:Tried with



I have but it doesn't works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!