Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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)