ButtonAppearance

ButtonAppearance provides interfaces for Button customization. ButtonAppearance are created using Builder.

Parameters

textAppearance

Text appearance specified for Button

borderColor

Border color specified for Button

borderWidth

Border width specified for Button

normalColor

Background color specified for normal state of the Button

pressedColor

Background color specified for pressed state of the Button

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
open val borderColor: Int
Link copied to clipboard
open val borderWidth: Float
Link copied to clipboard
open val normalColor: Int
Link copied to clipboard
open val pressedColor: Int
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)