I have a LinearLayout in my xml.
On runtime i add one image view of fill parent in this linear layout. Now i want to add one button over this imageview. Is this possible to add this button at center of this image view ? can we add view in child of any other view.
Please suggest me what should i do for this.
Use a
RelativeLayoutinstead of aLinearLayout:When you want to make the button visible: