android How to add view at start of layout?

android, view

Solution

Use `addView (View child, int index)` with index = 0

Problem

My question is simple. I have a linearlayout. It has some child views. Now I want to add a view at the start of the child. Means in normal addView(view), the view s added at the end of the layout. But I want to add it at start, at first position. Any idea...???

Original source

Related problems