LayoutParams

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

Constructors

Link copied to clipboard
constructor()
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)

Properties

Link copied to clipboard
open 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.
Link copied to clipboard
open var isDecor: Boolean
true if this view is a decoration on the pager itself and not a view supplied by the adapter.