简体   繁体   中英

Specific Android View

I am working on implementing a view to show this specific layout.

So a user may post something (with their profile picture to the left) then people comment/like the post and after a variable length list of comments, there is an edit text box to add one's own comment.

My question here is what is the best way to achieve such a view? Should I use a sectioned adapter with the "5 likes" and "2 comments" pieces as headers? Or are they just all their own views in a list? I'm still fairly new to creating my own variable length views...

Any direction would be greatly appreciated.

Make a LinearLayout(Vertical) as the root, and try follow theese guidelines. If any questions comment :)

嘘

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM