Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

DrawableAlphaProperty

public class DrawableAlphaProperty
extends

java.lang.Object
   ↳
     ↳ com.google.android.material.animation.DrawableAlphaProperty


Compat property for Drawable and Drawable for pre-K devices.

Summary

Fields

public static final DRAWABLE_ALPHA_COMPAT

A compat Property wrapper around Drawable and Drawable.

Public methods

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

Inherited methods

From class java.lang.Object

Fields

DRAWABLE_ALPHA_COMPAT

 DRAWABLE_ALPHA_COMPAT

A compat Property wrapper around Drawable and Drawable.

Public methods

get

Integer get (Drawable object)

Parameters
object Drawable

Returns
Integer

set

void set (Drawable object, 
                Integer value)

Parameters
object Drawable

value Integer