Padding

data class Padding(val left: Int, val top: Int, val right: Int, val bottom: Int) : Parcelable

Defines the padding in pixels.

Constructors

Link copied to clipboard
constructor(padding: Int = 0)

Defines the padding in pixels.

constructor(left: Int, top: Int, right: Int, bottom: Int)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val bottom: Int

The padding margin in pixels.

Link copied to clipboard
val left: Int

The left padding in pixels.

Link copied to clipboard
val right: Int

The padding margin in pixels.

Link copied to clipboard
val top: Int

The top padding in pixels.