LayoutParams
open class LayoutParams : LayoutParams
kotlin.Any | ||
↳ | android.view.ViewGroup.LayoutParams | |
↳ | androidx.viewpager.widget.ViewPager.LayoutParams |
Layout parameters that should be supplied for views added to a ViewPager.
Summary
Public constructors | |
---|---|
<init>() |
|
<init>(context: Context!, attrs: AttributeSet!) |
Properties | |
---|---|
Int |
Gravity setting for use on decor views only: Where to position the view page within the overall ViewPager container; constants are defined in |
Boolean |
true if this view is a decoration on the pager itself and not a view supplied by the adapter. |
Public constructors
<init>
LayoutParams()
<init>
LayoutParams(context: Context!, attrs: AttributeSet!)
Properties
gravity
var gravity: Int
Gravity setting for use on decor views only: Where to position the view page within the overall ViewPager container; constants are defined in android.view.Gravity
.
isDecor
var isDecor: Boolean
true if this view is a decoration on the pager itself and not a view supplied by the adapter.