I have an EditText and a Button pinned to the bottom of a RelativeLayout.
When you click on the EditText, the soft keyboard opens, BUT the EditText and the Button disspear, but in a VERY odd way. They actually are there, because you can type, and you can also press where the Button should be just above the keyboard, and it responds to touch, but... You can't actually see them.
Not sure why, but it seems like this might be specific to screen resolution? Its broken on my NexusOne but works on my LS670. Broken on emulator with WVGA800 but works on HVGA.
I had a much more complex layout.xml but I manage to boil it down to this simple case:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/test_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText
android:id="@+id/test_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@+id/test_textButton"
/>
<Button
android:id="@id/test_textButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:text="OK"/>
</RelativeLayout>
EDIT:
So the more I look into this, it appears to be a bug in the layout engine. When I click on the EditText, I can actually see the EditText animating upward before the keyboard covers it. It just doesn't make it up high enough. It appears to have something to do with the wide screen resolution. If I end up putting a margin of 100dip on the edit text, I can just barely see it poking above the keyboard, and 200dip makes it mostly show. AGAIN, this works on HVGA screens fine. The button hidden below the keyboard was still responding to my touch just above the keyboard, which was odd.