How to insert a View between 2 children of a LinearLayout

0

I have a% of Vertical% and 4% of% within it.

For example:

    linearLayout
        frame_1
        frame_2
        frame_3
        frame_4

I want to add LinearLayout to existing ones

For example:

    linearLayout
        frame_1
        frame_2
        frame_novo
        frame_3
        frame_4

How can I do this via code ?

    
asked by anonymous 05.02.2018 / 19:22

0 answers