hide And Show Two View - Android User Interface

Android examples for User Interface:View Hide Show

Description

hide And Show Two View

Demo Code


//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*/
}

Related Tutorials