开发者

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".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜