I have 3 layouts, I need when click on button access certain layout and ad remove controls from and in it any idea how to achieve that , this is the code I use
Look at the setVisibility method of the View class. It allows you to make Views appear or disappear from the UI very simply.
In your button's click listener just add view.setVisibility(View.GONE) to make any layout or widget go away. You can make it reappear by calling view.setVisibility(View.VISIBLE)