How to control visibility of elements in android?

How to control visibility of elements in android?