I want to dynamically add some views to a LinearLayout
that is already defined in XML.
I'm able to add views to the screen but they are not being placed 'inside' the right LinearLayout
.
How can I get a reference to this specific Layout from code, similar to getting a View
by using findViewById()
?