i have the following layout
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android">
<ListView
android:id="@+id/displaysms_listView1"
android:layout_width="fill_parent"
android:layout_height="319dp" />
<EditText
android:id="@+id/displaysms_textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Write Message"
android:inputType="textVisiblePassword" />
<RelativeLayout
android:id="@+id/displaysms_relativeLayout2"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/displaysms_btn_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="fill_vertical"
android:text="Send"
android:textSize="12sp" />
<Button
android:id="@+id/displaysms_btn_clear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:gravity="fill_vertical"
android:text="Clear"
android:textSize="12sp" />
</RelativeLayout>
</LinearLayout>
i have done adjustPan
in the manifest file and it works fine on devices except samsung galaxy the EditText
hides under the soft keyboard, any suggestions, i just want a EditText
and buttons at the bottom of my list view
my Activity
looks like
<activity
android:name="com.SMSActivity"
android:windowSoftInputMode="adjustPan|adjustResize"