I have a LinearLayout
inside ScrollLayout
. I add pictures to LinearLayout programmaticaly, so user can scroll through them. I need an option to add a picture to the top of LinearLayout, so user can see it on the top of their screen. How can i do it?
It seems that there are no options other than that once you remove all current child ImageViews
of the LinearLayout
, then you re-add those child ImageView
s including the new one in the order you intend.
See this QA for more information.
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.