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);
        }/*  w ww .  jav a  2s  . c  o  m*/
    }
}

Related Tutorials