android.support.v4.view
Class ViewPager.LayoutParams
java.lang.Object
android.view.ViewGroup.LayoutParams
android.support.v4.view.ViewPager.LayoutParams
- Enclosing class:
- ViewPager
public static class ViewPager.LayoutParams
- extends android.view.ViewGroup.LayoutParams
Layout parameters that should be supplied for views added to a
ViewPager.
Field Summary |
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 . |
boolean |
isDecor
true if this view is a decoration on the pager itself and not
a view supplied by the adapter. |
Fields inherited from class android.view.ViewGroup.LayoutParams |
FILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT |
Methods inherited from class android.view.ViewGroup.LayoutParams |
resolveLayoutDirection, setBaseAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isDecor
public boolean isDecor
- true if this view is a decoration on the pager itself and not
a view supplied by the adapter.
gravity
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
.
ViewPager.LayoutParams
public ViewPager.LayoutParams()
ViewPager.LayoutParams
public ViewPager.LayoutParams(android.content.Context context,
android.util.AttributeSet attrs)
Copyright © 2013 Marek Kedzierski. All Rights Reserved.