Reputation: 683
I am new in Android.I want to create this Layout.
I have tried this but i am not getting how could i do this .
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:id="@+id/main_relative_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</RelativeLayout>
</ScrollView>
See i have used ScrollView but i am not able to create the design .Please Help me
Upvotes: 0
Views: 424
Reputation: 3190
You need this
<RelativeLayout (root)>
<LinearHayout (head)>
..some other UI tag for page head
</LinearLayout>
<ListView />
</RelativeLayout>
And also, try to google "android custom listview" for more detail...
Upvotes: 0
Reputation: 17803
You should use a custom ListView
for this functionality, see example - http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/
Upvotes: 1