Toolbar.LayoutParams


class Toolbar.LayoutParams : ActionBar.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

Public constructors

LayoutParams(gravity: Int)
LayoutParams(width: Int, height: Int)
LayoutParams(width: Int, height: Int, gravity: Int)

Inherited Constants

From android.view.ViewGroup.LayoutParams
const Int

This property is deprecated.

const Int
const Int

Public constructors

LayoutParams

Added in 1.7.0
LayoutParams(gravity: Int)

LayoutParams

Added in 1.7.0
LayoutParams(source: ActionBar.LayoutParams!)

LayoutParams

Added in 1.1.0
LayoutParams(source: Toolbar.LayoutParams!)

LayoutParams

Added in 1.7.0
LayoutParams(source: ViewGroup.LayoutParams!)

LayoutParams

Added in 1.1.0
LayoutParams(source: ViewGroup.MarginLayoutParams!)

LayoutParams

Added in 1.7.0
LayoutParams(c: Context, attrs: AttributeSet!)

LayoutParams

Added in 1.7.0
LayoutParams(width: Int, height: Int)

LayoutParams

Added in 1.7.0
LayoutParams(width: Int, height: Int, gravity: Int)