Join us for ⁠#Android11: The Beta Launch Show on June 3!

DrawerLayout.LayoutParams

public static class DrawerLayout.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ androidx.drawerlayout.widget.DrawerLayout.LayoutParams


Summary

Inherited constants

Fields

public int gravity

Inherited fields

Public constructors

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

Inherited methods

Fields

gravity

public int gravity

Public constructors

LayoutParams

public LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

LayoutParams

public LayoutParams (int width, 
                int height)

Parameters
width int

height int

LayoutParams

public LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int

height int

gravity int

LayoutParams

public LayoutParams (DrawerLayout.LayoutParams source)

Parameters
source DrawerLayout.LayoutParams

LayoutParams

public LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

LayoutParams

public LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams