ViewPager.LayoutParams

class ViewPager.LayoutParams : ViewGroup.LayoutParams


Layout parameters that should be supplied for views added to a ViewPager.

Summary

Public constructors

LayoutParams(context: Context!, attrs: AttributeSet!)

Public 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 android.view.Gravity.

Boolean

true if this view is a decoration on the pager itself and not a view supplied by the adapter.

Inherited Constants

From android.view.ViewGroup.LayoutParams
const Int

This property is deprecated.

const Int
const Int

Inherited functions

From android.view.ViewGroup.LayoutParams
Unit
resolveLayoutDirection(layoutDirection: Int)
Unit
setBaseAttributes(a: TypedArray!, widthAttr: Int, heightAttr: Int)

Public constructors

LayoutParams

Added in 1.1.0-alpha02
LayoutParams()

LayoutParams

Added in 1.1.0-alpha02
LayoutParams(context: Context!, attrs: AttributeSet!)

Public properties

gravity

Added in 1.1.0-alpha02
val gravityInt

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

Added in 1.1.0-alpha02
val isDecorBoolean

true if this view is a decoration on the pager itself and not a view supplied by the adapter.