CompositeDrawable.ChildDrawable

public static final class CompositeDrawable.ChildDrawable
extends Object

java.lang.Object
   ↳ androidx.leanback.graphics.CompositeDrawable.ChildDrawable


Wrapper class holding a drawable object and BoundsRule to update drawable bounds when parent bound changes.

Summary

Fields

public static final Property<CompositeDrawable.ChildDrawable, Integer> BOTTOM_ABSOLUTE

Implementation of Property for overrideBottom attribute.

public static final Property<CompositeDrawable.ChildDrawable, Float> BOTTOM_FRACTION

Implementation of Property for overwriting the bottom attribute of BoundsRule associated with this CompositeDrawable.ChildDrawable.

public static final Property<CompositeDrawable.ChildDrawable, Integer> LEFT_ABSOLUTE

Implementation of Property for overrideLeft attribute.

public static final Property<CompositeDrawable.ChildDrawable, Float> LEFT_FRACTION

Implementation of Property for overwriting the bottom attribute of BoundsRule associated with this CompositeDrawable.ChildDrawable.

public static final Property<CompositeDrawable.ChildDrawable, Integer> RIGHT_ABSOLUTE

Implementation of Property for overrideRight attribute.

public static final Property<CompositeDrawable.ChildDrawable, Float> RIGHT_FRACTION

Implementation of Property for overwriting the bottom attribute of BoundsRule associated with this CompositeDrawable.ChildDrawable.

public static final Property<CompositeDrawable.ChildDrawable, Integer> TOP_ABSOLUTE

Implementation of Property for overrideTop attribute.

public static final Property<CompositeDrawable.ChildDrawable, Float> TOP_FRACTION

Implementation of Property for overwriting the bottom attribute of BoundsRule associated with this CompositeDrawable.ChildDrawable.

Public constructors

ChildDrawable(Drawable drawable, CompositeDrawable parent)