1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

How do I make the screen scrollable when a keyboard pops up?

Last Updated:

  1. rphello101

    rphello101 Member This Topic's Starter

    Mar 26, 2012
    Likes Received:
    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)?

  2. jonbonazza

    jonbonazza Well-Known Member

    Jul 13, 2010
    Likes Received:
    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.

Share This Page