Skip to content

Most visited

Recently visited

navigation

DrawerLayout.LayoutParams

public static class DrawerLayout.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.support.v4.widget.DrawerLayout.LayoutParams


Summary

Inherited XML attributes

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Inherited constants

From class android.view.ViewGroup.LayoutParams

Fields

public int gravity

Inherited fields

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Public constructors

DrawerLayout.LayoutParams(Context c, AttributeSet attrs)
DrawerLayout.LayoutParams(int width, int height)
DrawerLayout.LayoutParams(int width, int height, int gravity)
DrawerLayout.LayoutParams(DrawerLayout.LayoutParams source)
DrawerLayout.LayoutParams(ViewGroup.LayoutParams source)
DrawerLayout.LayoutParams(ViewGroup.MarginLayoutParams source)

Inherited methods

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Fields

gravity

int gravity

Public constructors

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context
attrs AttributeSet

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (int width, 
                int height)

Parameters
width int
height int

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int
height int
gravity int

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (DrawerLayout.LayoutParams source)

Parameters
source DrawerLayout.LayoutParams

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

DrawerLayout.LayoutParams

DrawerLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.