ActionBar.LayoutParams


public class ActionBar.LayoutParams extends ViewGroup.MarginLayoutParams

Known direct subclasses
Toolbar.LayoutParams

Layout information for child views of Toolbars.


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

Summary

Public fields

int

Gravity for the view associated with these LayoutParams.

Public constructors

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

Inherited Constants

From android.view.ViewGroup.LayoutParams
static final int

This field is deprecated.

static final int
static final int

Inherited methods

From android.view.ViewGroup.LayoutParams
void
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
From android.view.ViewGroup.MarginLayoutParams
int
int
int
boolean
void
resolveLayoutDirection(int layoutDirection)
void
setLayoutDirection(int layoutDirection)
void
setMarginEnd(int end)
void
setMarginStart(int start)
void
setMargins(int left, int top, int right, int bottom)

Public fields

gravity

Added in 1.1.0
public int gravity

Gravity for the view associated with these LayoutParams.

See also
Gravity

Public constructors

LayoutParams

Added in 1.1.0
public LayoutParams(int gravity)

LayoutParams

Added in 1.1.0
public LayoutParams(ActionBar.LayoutParams source)

LayoutParams

Added in 1.1.0
public LayoutParams(ViewGroup.LayoutParams source)

LayoutParams

Added in 1.1.0
public LayoutParams(@NonNull Context c, AttributeSet attrs)

LayoutParams

Added in 1.1.0
public LayoutParams(int width, int height)

LayoutParams

Added in 1.1.0
public LayoutParams(int width, int height, int gravity)