Google is committed to advancing racial equity for Black communities. See how.

ActionBar.LayoutParams

public static class ActionBar.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ androidx.appcompat.app.ActionBar.LayoutParams


Per-child layout information associated with action bar custom views.

Summary

Inherited constants

Fields

public int gravity

Gravity for the view associated with these LayoutParams.

Inherited fields

Public constructors

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

Inherited methods

Fields

gravity

public int gravity

Gravity for the view associated with these LayoutParams.

See also:

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 (int gravity)

Parameters
gravity int

LayoutParams

public LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

LayoutParams

public LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams