我在视图中有以下布局:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFF"
>
<include layout="@layout/header" android:layout_width="fill_parent" android:layout_height="97dip"/>
<ListView
android:id="@+id/sub_comments_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:cacheColorHint="#00000000"
android:divider="#A8A8A8"
android:background="#FFF"
android:listSelector="@drawable/white_list_view_selector"
/>
<include layout="@layout/footer" android:layout_width="fill_parent" android:layout_height="36dip"/>
</LinearLayout>
在listview中,当我触摸(焦点)该edittext时,我有一个edittext,页脚布局也会像下面一样滑动: