Ishara Asheni
Ishara Asheni

Reputation: 66

How to create a dynamic layout inside a linear layout?

Please Help me with this! Um stucked!

   LinearLayout rR;

  LinearLayout.LayoutParams params5 = new LinearLayout.LayoutParams
                ((int) ViewGroup.LayoutParams.WRAP_CONTENT, (int)      ViewGroup.LayoutParams.WRAP_CONTENT);

   TextView[] tv5 = new TextView[value1];
    rR.addView(tv5[i]);}

This works fine but inside this rR layout I need to create another layout Dynamically!

Upvotes: 1

Views: 1062

Answers (1)

Muhammad Waleed
Muhammad Waleed

Reputation: 2601

the link show how to create dynamically layout in android !! click here

Upvotes: 2

Related Questions