LayoutParams

Deprecated

Deprecated

this class is deprecated along with its parent class.

Constructors

Link copied to clipboard
constructor(c: Context, attrs: AttributeSet)
constructor(width: Int, height: Int)
constructor(source: ViewGroup.LayoutParams)
constructor(source: ViewGroup.MarginLayoutParams)

Functions

Link copied to clipboard
open fun addRule(verb: Int)
Link copied to clipboard
open fun debug(output: String): String
Link copied to clipboard
Link copied to clipboard
open fun getMarginEnd(): Int
Link copied to clipboard
open fun getMarginStart(): Int
Link copied to clipboard
open fun getRule(verb: Int): Int
Link copied to clipboard
open fun getRules(): Array<Int>
Link copied to clipboard
Link copied to clipboard
open fun removeRule(verb: Int)
Link copied to clipboard
open fun resolveLayoutDirection(layoutDirection: Int)
Link copied to clipboard
open fun setLayoutDirection(layoutDirection: Int)
Link copied to clipboard
open fun setMarginEnd(end: Int)
Link copied to clipboard
open fun setMargins(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun setMarginStart(start: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open var bottomMargin: Int
Link copied to clipboard
val FILL_PARENT: Int = -1
Link copied to clipboard
open var height: Int
Link copied to clipboard
open var leftMargin: Int
Link copied to clipboard
val MATCH_PARENT: Int = -1
Link copied to clipboard
open var rightMargin: Int
Link copied to clipboard
open var topMargin: Int
Link copied to clipboard
open var width: Int
Link copied to clipboard
val WRAP_CONTENT: Int = -2