KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two listviews, but they don't scroll. How do I correct this? Here is my layout.xml <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:fillViewport="true" > <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/backgrund" > <!-- Header Starts --> <LinearLayout android:id="@+id/header" android:layout_width="fill_parent" android:layout_height="40dip" android:layout_alignParentTop="true" android:background="@layout/header" > </LinearLayout> <!-- Header Ends --> <!-- Footer Start --> <TextView android:id="@+id/textAD" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/header" android:layout_alignParentRight="true" android:layout_marginBottom="14dp" android:layout_marginRight="26dp" android:text="Small Text" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="#FFFFFF" /> <ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/header" android:layout_gravity="center_horizontal" android:focusable="false" android:paddingBottom="5px" android:paddingTop="10px" android:src="@android:drawable/divider_horizontal_bright" />
Tags (comma-separated)
Save Edits
Cancel