android - Is it possible to scroll a ListView in and out of the frame? -


i have activity layout displays listview. view long can scroll it. have searched while didn´t find anything. there tool can scroll list out of layout. meaning when @ buttom or of list , scroll direction list ends list dissapears @ button or top of layout , see backround. has done before?

yes. can done there need elements before or after list view. there relative layout inside there list view , textview.

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">     <listview         android:id="@+id/listview"         android:layout_width="match_parent"         android:layout_height="match_parent"         />     <button             android:id="@+id/btnbutton"             android:text="hello"             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:layout_gravity="bottom" /> </relativelayout> 

in such case there many elements above , below listview able scroll out of listview frame.


Comments