set ImageView Alpha - Android User Interface

Android examples for User Interface:ImageView

Description

set ImageView Alpha

Demo Code


//package com.java2s;

import android.widget.ImageView;

public class Main {
    public static void setAlpha(ImageView activeImageView, float v) {
        if (activeImageView != null) {
            activeImageView.setAlpha(v);
        }/*from   w ww  . j  a  va2 s.c  om*/
    }
}

Related Tutorials