GridViewPager.LayoutParams

public static class GridViewPager.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.support.wearable.view.GridViewPager.LayoutParams


This class is deprecated.
starting with Android Wear 2.0 we no longer encourage bi-directional spacial models for apps. If you are looking to implement vertical paging pattern, consider using the SnapHelper and a RecyclerView instead.

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

Summary

Inherited constants

Fields

public int gravity

Where to position the view page within the overall GridViewPager container; constants are defined in Gravity.

public boolean needsMeasure

Inherited fields

Public constructors

LayoutParams()
LayoutParams(Context context, AttributeSet attrs)

Inherited methods

Fields

gravity

public int gravity

Where to position the view page within the overall GridViewPager container; constants are defined in Gravity.

needsMeasure

public boolean needsMeasure

Public constructors

LayoutParams

public LayoutParams ()

LayoutParams

public LayoutParams (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet