Android APIs
public static class

Toolbar.LayoutParams

extends ActionBar.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.support.v7.app.ActionBar.LayoutParams
         ↳ android.support.v7.widget.Toolbar.LayoutParams

Class Overview

Layout information for child views of Toolbars.

Toolbar.LayoutParams extends ActionBar.LayoutParams for compatibility with existing ActionBar API. See ActionBarActivity.setActionBar for more info on how to use a Toolbar as your Activity's ActionBar.

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Fields
From class android.support.v7.app.ActionBar.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
Toolbar.LayoutParams(Context c, AttributeSet attrs)
Toolbar.LayoutParams(int width, int height)
Toolbar.LayoutParams(int width, int height, int gravity)
Toolbar.LayoutParams(int gravity)
Toolbar.LayoutParams(Toolbar.LayoutParams source)
Toolbar.LayoutParams(ActionBar.LayoutParams source)
Toolbar.LayoutParams(ViewGroup.MarginLayoutParams source)
Toolbar.LayoutParams(ViewGroup.LayoutParams source)
[Expand]
Inherited Methods
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Public Constructors

public Toolbar.LayoutParams (Context c, AttributeSet attrs)

public Toolbar.LayoutParams (int width, int height)

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

public Toolbar.LayoutParams (int gravity)

public Toolbar.LayoutParams (Toolbar.LayoutParams source)

public Toolbar.LayoutParams (ActionBar.LayoutParams source)

public Toolbar.LayoutParams (ViewGroup.MarginLayoutParams source)

public Toolbar.LayoutParams (ViewGroup.LayoutParams source)