• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Fields hidden due to keyboard

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic