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(width: Int, height: Int, gravity: Int)
constructor(source: ViewGroup.LayoutParams)
constructor(source: ViewGroup.MarginLayoutParams)
constructor(source: FrameLayout.LayoutParams)
@RequiresApi(value = 19)
constructor(source: PercentFrameLayout.LayoutParams)

Functions

Link copied to clipboard
Link copied to clipboard
open fun getMarginEnd(): Int
Link copied to clipboard
open fun getMarginStart(): Int
Link copied to clipboard
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
open var bottomMargin: Int
Link copied to clipboard
val FILL_PARENT: Int = -1
Link copied to clipboard
open var gravity: Int
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
Link copied to clipboard
open var width: Int
Link copied to clipboard
val WRAP_CONTENT: Int = -2