kiran kiran - 2 years ago 84
Android Question

how to add views to linear layout?

It is possible to add views to Linear Layout one after another in upward direction.

if any one working on that,please help me

Answer Source

You can add it programmatically with:

LinearLayout layout = (LinearLayout) findViewById(;
layout.addView(newView, index);

You just have to add always with index = 0

Is this the answer to your question?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download