android.support.v4.view
Class ViewPager.LayoutParams

java.lang.Object
  extended by ViewGroup.LayoutParams
      extended by android.support.v4.view.ViewPager.LayoutParams
Enclosing class:
ViewPager

public static class ViewPager.LayoutParams
extends 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 android.view.Gravity.
 boolean isDecor
          true if this view is a decoration on the pager itself and not a view supplied by the adapter.
 boolean needsMeasure
          true if this view was added during layout and needs to be measured before being positioned.
 float widthFactor
          Width as a 0-1 multiplier of the measured pager width
 
Constructor Summary
ViewPager.LayoutParams()
           
ViewPager.LayoutParams(Context context, AttributeSet attrs)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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


widthFactor

public float widthFactor
Width as a 0-1 multiplier of the measured pager width


needsMeasure

public boolean needsMeasure
true if this view was added during layout and needs to be measured before being positioned.

Constructor Detail

ViewPager.LayoutParams

public ViewPager.LayoutParams()

ViewPager.LayoutParams

public ViewPager.LayoutParams(Context context,
                              AttributeSet attrs)