Lines Matching refs:view
21 import android.view.View;
22 import android.view.animation.Animation;
23 import android.view.animation.AnimationUtils;
65 * Show/hide loading view and content view.
67 * @param loading The loading spinner view
68 * @param content The content view
78 private static void setViewShown(final View view, boolean shown, boolean animate) {
80 Animation animation = AnimationUtils.loadAnimation(view.getContext(),
83 view.setVisibility(View.VISIBLE);
96 view.setVisibility(View.INVISIBLE);
100 view.startAnimation(animation);
102 view.clearAnimation();
103 view.setVisibility(shown ? View.VISIBLE : View.INVISIBLE);