[Solved] Hiding specific view in an activity


You can change the status of the views programmatically.

You should use view.setVisibility(View.GONE) if you want to remove the view from the layout, and view.setVisibility(View.INVISIBLE) if you want to hide it.

To put them back , use view.setVisibility(View.VISIBLE).

solved Hiding specific view in an activity