to top
Android APIs
public static class

ViewPager.LayoutParams

extends ViewGroup.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.support.v4.view.ViewPager.LayoutParams

Class Overview

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

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
Fields
public int gravity Gravity setting for use on decor views only: Where to position the view page within the overall ViewPager container; constants are defined in Gravity.
public boolean isDecor true if this view is a decoration on the pager itself and not a view supplied by the adapter.
[Expand]
Inherited Fields
From class android.view.ViewGroup.LayoutParams
Public Constructors
ViewPager.LayoutParams()
ViewPager.LayoutParams(Context context, AttributeSet attrs)
[Expand]
Inherited Methods
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Fields

public int gravity

Gravity setting for use on decor views only: Where to position the view page within the overall ViewPager container; constants are defined in Gravity.

public boolean isDecor

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

Public Constructors

public ViewPager.LayoutParams ()

public ViewPager.LayoutParams (Context context, AttributeSet attrs)