FadeThroughDrawable

Facilitates a fade out and then a fade in of the two input drawables.

Constructors

Link copied to clipboard
constructor(@NonNull fadeOutDrawable: Drawable, @NonNull fadeInDrawable: Drawable)

Functions

Link copied to clipboard
open fun draw(@NonNull canvas: Canvas)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open fun getOpacity(): Int
Link copied to clipboard
open fun isStateful(): Boolean
Link copied to clipboard
open fun setAlpha(alpha: Int)
Link copied to clipboard
open fun setBounds(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun setColorFilter(@Nullable colorFilter: ColorFilter)
Link copied to clipboard
open fun setProgress(@FloatRange(from = 0.0, to = 1.0) progress: Float)
Sets the progress of the fade through animation.
Link copied to clipboard
open fun setState(stateSet: Array<Int>): Boolean