This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Fields hidden due to keyboard  RSS feed

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application there are some user input fields. Once the keyboard appears, some fields are hidden until I scroll using down arrow. How can I make sure the fields are visible. Is there a way to make the size small? Following code is from one layout file. How can I make it appear smaller so users can see everything.

 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure but try to understand the semantics of android:windowSoftInputMode attribute of the <activity> tag in the manifest file. Maybe that can help.
 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all I know its an old thread but I started it and I am still unable to find a solution for this so rather than starting a new thread I am continuing here. I hope bartender won't mind.

Monu, based on your reply I used windowSoftInputMode and it did help a little. but still one or two buttons are hidden. I want my page to become scrollable just like web pages. I don't expect the keyboard to not hide but if user scroll then it would be acceptable.

Thanks
Imad

 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the answer. I had to put my tablelayout inside scrollview.

Here is the new code in case it might help someone.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!