0
我有编辑文本,并在屏幕顶部的屏幕和底部的旁边有一个按钮,列表视图,当我点击编辑文本和键盘下出现集中按钮和编辑文本,这些都来自列表视图,按钮也不能点击,只要键盘打开。 请帮忙。 这是我的Xml。键松动,当键盘出现
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="86dp"
android:layout_gravity="bottom" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:text="Send" />
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@+id/button1"
android:ems="10" />
</RelativeLayout>
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="317dp"
>
</ListView>
</FrameLayout>
发表您的XML,所以我们可以看到 – tyczj
这是怎么回事应该工作。 –
@tyczj检查我的XML有问题 – Talib