XML dynamic creation

xZer0

New Member
I want to create a XML layout dynamically but I had a question on doing so.Say I have something like this (Looking at the layout from the "Outline" perspective): -ScrollView ---Linear Layout(Vertical) (LL1) -------Linear Layout(Horizontal) (LL2) -----------Image View (IV1) -----------Linear Layout(Vertical) (LL3) ---------------TextView ---------------TextViewSo my question here is would I start with the most inner Layout (LL3) and add the 2 TextViews and then branch upwards (to LL2 then LL1 then ScrollView) with adding to the other views & layouts?
 
Back
Top