added in version 1.0.0
belongs to Maven artifact androidx.appcompat:appcompat:1.0.0-beta01

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

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

Inherited methods

Fields

gravity

added in version 1.0.0
public int gravity

Gravity for the view associated with these LayoutParams.

See also:

Public constructors

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (int width, 
                int height)

Parameters
width int

height int

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int

height int

gravity int

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (int gravity)

Parameters
gravity int

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

ActionBar.LayoutParams

added in version 1.0.0
public ActionBar.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams