1. Are you ready for the Galaxy S20? Here is everything we know so far!

Prevent EditText collapse on keyboard popup?

Discussion in 'Android Development' started by tr00don, Jul 8, 2020.

  1. tr00don

    tr00don Lurker
    Thread Starter

    In an Android app, in a vertical linear layout I placed, from the top to the bottom: a multiline EditText in a ScroolView; a TextView in a ScrollView; and a Button. When the app starts the EditText gets the focus and the soft keyboard pops up. The app layout is collapsed (windowSoftInputMode = adjustResize) except for the Button (which is what I expect as user must have access to it).

    I need the EditText to not collapse at any time, just like the Button.

    How do I also prevent the EditText from collapsing when the soft keyboard pops up?
     


    #1 tr00don, Jul 8, 2020
    Last edited: Jul 8, 2020
Loading...
Similar Threads - Prevent EditText collapse
  1. RegiOween
    Replies:
    8
    Views:
    388
  2. gw.hicks
    Replies:
    3
    Views:
    463
  3. Liam548
    Replies:
    10
    Views:
    564
  4. dorlow
    Replies:
    2
    Views:
    403
  5. Gigue
    Replies:
    5
    Views:
    448
  6. Android News
    Replies:
    0
    Views:
    144
  7. wumpalumpa
    Replies:
    0
    Views:
    402
  8. pledgeX
    Replies:
    1
    Views:
    689
  9. Pawan Choudhary
    Replies:
    1
    Views:
    618
  10. Pawan Choudhary
    Replies:
    1
    Views:
    763

Share This Page

Loading...