Android - How to enable full page scrolling on a layout with a ListView? -
i have layout listview. list scrolls fine, other content on page needs bigger , either list or other content take of screen need scroll.
can done?
here layout have far:
<?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" > <include android:id="@+id/header" layout="@layout/header" android:layout_height="wrap_content" android:layout_width="fill_parent"/> <textview android:id="@+id/view_name" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="business:" /> <textview android:id="@+id/business_privacy" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="loading..." /> <textview android:id="@+id/think" android:layout_width="fill_parent" android:layout_margintop ="5dp" android:textcolor="@color/light_best_blue" android:paddingleft="10px" android:layout_height="wrap_content" android:text="fill out each section below" /> <listview android:id="@android:id/list" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@+id/label" android:textsize="20px" > </listview> </linearlayout>
what way make easy user able see both text , list if text takes whole screen? can make text scrollable? bad in horizontal view think there must ux patters make play nicely.
thanks advice!
1- put textview has larger text in header of list view scroll list...
or
2- put textview in other scroll view fixed size 1/3 of screen.
or
3 -
Comments
Post a Comment