belongs to Maven artifact androidx.appcompat:appcompat:1.0.0-alpha1

Toolbar.LayoutParams

public static class Toolbar.LayoutParams
extends ActionBar.LayoutParams

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


Layout information for child views of Toolbars.

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

Summary

Inherited constants

Inherited fields

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)

Inherited methods

Public constructors

Toolbar.LayoutParams

Toolbar.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

Toolbar.LayoutParams

Toolbar.LayoutParams (int width, 
                int height)

Parameters
width int

height int

Toolbar.LayoutParams

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

Parameters
width int

height int

gravity int

Toolbar.LayoutParams

Toolbar.LayoutParams (int gravity)

Parameters
gravity int

Toolbar.LayoutParams

Toolbar.LayoutParams (Toolbar.LayoutParams source)

Parameters
source Toolbar.LayoutParams

Toolbar.LayoutParams

Toolbar.LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

Toolbar.LayoutParams

Toolbar.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

Toolbar.LayoutParams

Toolbar.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams