Android examples for User Interface:View Hide Show
set View Visible
//package com.java2s; import android.view.View; public class Main { public static void setVisible(View... views) { if (views != null && views.length > 0) { for (View view : views) { if (null != view && view.getVisibility() != View.VISIBLE) view.setVisibility(View.VISIBLE); }/*from w w w .ja v a2s . com*/ } } }