How to make picture top of the list view on Android
I want put a picture at the top of the screen and then a description as a text view under the picture and finally on the bottom a list view. How can I do this? 开发者_高级运维
You just need to create a LinearLayout and add imageView in it. Then add a listView to LinearLayout.
Alternatively, create a RelativeLayout, add imageView in it and add listView by setting attribute android:layout_below:"@+id/yourImageViewId"
.
精彩评论