Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
LinkBack Thread Tools
Old March 28th, 2012, 07:11 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Mar 2012
Posts: 11
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I make the screen scrollable when a keyboard pops up?

I'm fairly new to android programming and I'm writing a simple app that performs some math calculations. I'm having the user enter some information in a couple edittexts. When the keyboard pops up though, it covers the submit button on the bottom. I can make the entire layout scrollable, but then you can scroll too far. How do I make it so that, when the keyboard is up, you can scroll down to see other information (like buttons, textviews, etc)?

rphello101 is offline  
Reply With Quote
sponsored links
Old March 28th, 2012, 08:38 PM   #2 (permalink)
Senior Member
jonbonazza's Avatar
Join Date: Jul 2010
Gender: Male
Posts: 1,936
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 478 Times in 292 Posts

Without making the hole layout scrollable and adding padding at the bottom of the ScrollView, I cant really think of a means to do this. Unfortunately this is one of the caveats of software keyboards--they take up screen real estate. With that said, depending on the components used, you could alter theor height when tbe keyboard is in view to compensate for the size of the keyboard.
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
jonbonazza is offline  
Reply With Quote
keyboard, pop up, scroll, scrollview

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 03:03 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.