I have 4 buttons in my linear layout and i need to bring to front first button.
Normal order is
Button 1 | Button 2 | Button 3 | Button 4
make your layout call the forceLayout() to disable re-arrangement of the layout.
forceLayout()