Android examples for User Interface:View Hide Show
hide And Show Two View
//package com.java2s; import android.view.View; public class Main { public static void hideAndShowTwoView(View hidingView, View showingView) { hidingView.setVisibility(View.GONE); showingView.setVisibility(View.VISIBLE); }/*from ww w . jav a 2 s. c om*/ }