Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

DrawableAlphaProperty

public class DrawableAlphaProperty
extends Property<Drawable, Integer>

java.lang.Object
   ↳ android.util.Property<android.graphics.drawable.Drawable, java.lang.Integer>
     ↳ com.google.android.material.animation.DrawableAlphaProperty


Compat property for Drawable.getAlpha() and Drawable.setAlpha(int) for pre-K devices.

Summary

Fields

public static final Property<Drawable, Integer> DRAWABLE_ALPHA_COMPAT

A compat Property wrapper around Drawable.getAlpha() and Drawable.setAlpha(int).

Public methods

Integer get(Drawable object)
void set(Drawable object, Integer value)

Inherited methods

Fields

DRAWABLE_ALPHA_COMPAT

public static final Property<Drawable, Integer> DRAWABLE_ALPHA_COMPAT

A compat Property wrapper around Drawable.getAlpha() and Drawable.setAlpha(int).

Public methods

get

public Integer get (Drawable object)

Parameters
object Drawable

Returns
Integer

set

public void set (Drawable object, 
                Integer value)

Parameters
object Drawable

value Integer