Padding

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

Defines the padding in pixels.

Parameters

left

The left padding in pixels.

top

The top padding in pixels.

right

The padding margin in pixels.

bottom

The padding margin in pixels.

Constructors

Link copied to clipboard
fun Padding(padding: Int = 0)

Defines the padding in pixels.

Link copied to clipboard
fun Padding(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
Link copied to clipboard
val left: Int
Link copied to clipboard
val right: Int
Link copied to clipboard
val top: Int