Keyboard of Edittext in listview slides up the remaining layout
I have following layout in view:
<?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"
an开发者_开发知识库droid: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>
Inside the listview I have an edittext when I touch(focus) on that edittext, the footer layout also slides up like following:
精彩评论