How To create a layout inside another

I have taken two horizontal layout as a perimeter from the user then I want to insert one layout inside another with one extra label.

Prototype :-
public void input(HorizontalArrangement l1,HorizontalArrangement l2);


How to initially place a component inside another is covered in my Tips and Tricks:

Read the tips, then watch the video

i am asking in Open Source Development.

Actually I am Developing an extension.
and want take two Layouts and then insert one layout into another.

You specifically have to create one inside the other by construction. The constructor of a component takes its container, and at least in the case of AndroidViewComponent and its subclasses, the container is a final field so it cannot be changed at runtime.

1 Like