I’m adding a new views to my LinearLayout on a runtime. I’d like them to be stacked on the right side of the layout.
On the picture clock icon gets stacked on the left, so it’s oposite to what I want. Is it possible to make them stack on the right of the higlited LinearLayout? (It can be any other layout, not just Linear if it gives what I want)

Something like this?
The blue line is the linear layout selected: