Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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