I have a complicated issue I'm trying to solve.  I have a layout.xml
file which uses a RelativeLayout to organize several UI Views.

The issue I have is that one of the Views in the bottom half (portrait
mode) is an EditText View.  When this View is selected for editing
text, the soft keyboard appears from the bottom of the screen, and
overlaps the entirety of this EditText View--so I am unable to view
the text field that is being edited as I edit it.  It is a multiline
text field, and its height and width are both set to match_parent, but
its height is determined by anchoring to a single line EditText above
it, and anchoring to a LinearLayout of Button controls below it.
(Thus, it "fills" the space between the above EditText and the
LinearLayout below) This LinearLayout is contained in the larger
RelativeLayout and its alignedParentBottom is true.

I've been experimenting with using the Activity's windowSoftInputMode
option, but using adjustPan simply doesn't work, and using
adjustResize causes the LinearLayout Buttons to appear above the
keyboard--it appears to resize the EditText Views to basically be
invisible, due to the Views above not being able to be resized.

Technically, the soft keyboard DOES make the Activity pan up very
slightly, but it is very minimal and reveals nothing new.  As the
EditText View is filled in, the screen pans even more, since it is
multiline--as lines are added, previous lines become exposed.

The point is, I need a way of exposing the entire EditText View, or at
least all the lines that have been (or are being) filled in at the
moment.  And right now that is not at the behavior that is occurring.

If anyone has any thoughts, I'd greatly appreciate it.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to