added in version 25.1.0
belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:appcompat-v7:28.0.0-alpha1
Toolbar.LayoutParams
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 |
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 |
---|
From
class
android.view.ViewGroup.LayoutParams
|
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)
|
Inherited methods | |
---|---|
From
class
android.view.ViewGroup.MarginLayoutParams
| |
From
class
android.view.ViewGroup.LayoutParams
| |
From
class
java.lang.Object
|
Public constructors
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (Context c, AttributeSet attrs)
Parameters | |
---|---|
c |
Context |
attrs |
AttributeSet |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (int width, int height)
Parameters | |
---|---|
width |
int |
height |
int |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (int width, int height, int gravity)
Parameters | |
---|---|
width |
int |
height |
int |
gravity |
int |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (int gravity)
Parameters | |
---|---|
gravity |
int |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (Toolbar.LayoutParams source)
Parameters | |
---|---|
source |
Toolbar.LayoutParams |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (ActionBar.LayoutParams source)
Parameters | |
---|---|
source |
ActionBar.LayoutParams |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (ViewGroup.MarginLayoutParams source)
Parameters | |
---|---|
source |
ViewGroup.MarginLayoutParams |
Toolbar.LayoutParams
added in version 25.1.0
Toolbar.LayoutParams (ViewGroup.LayoutParams source)
Parameters | |
---|---|
source |
ViewGroup.LayoutParams |
Annotations
Interfaces
- ActionMenuView.OnMenuItemClickListener
- PopupMenu.OnDismissListener
- PopupMenu.OnMenuItemClickListener
- RecyclerView.ChildDrawingOrderCallback
- RecyclerView.ItemAnimator.ItemAnimatorFinishedListener
- RecyclerView.LayoutManager.LayoutPrefetchRegistry
- RecyclerView.OnChildAttachStateChangeListener
- RecyclerView.OnItemTouchListener
- RecyclerView.RecyclerListener
- RecyclerView.SmoothScroller.ScrollVectorProvider
- SearchView.OnCloseListener
- SearchView.OnQueryTextListener
- SearchView.OnSuggestionListener
- ShareActionProvider.OnShareTargetSelectedListener
- ThemedSpinnerAdapter
- Toolbar.OnMenuItemClickListener
Classes
- ActionMenuView
- ActionMenuView.LayoutParams
- AppCompatAutoCompleteTextView
- AppCompatButton
- AppCompatCheckBox
- AppCompatCheckedTextView
- AppCompatEditText
- AppCompatImageButton
- AppCompatImageView
- AppCompatMultiAutoCompleteTextView
- AppCompatRadioButton
- AppCompatRatingBar
- AppCompatSeekBar
- AppCompatSpinner
- AppCompatTextView
- CardView
- DefaultItemAnimator
- DividerItemDecoration
- GridLayout
- GridLayout.Alignment
- GridLayout.LayoutParams
- GridLayout.Spec
- GridLayoutManager
- GridLayoutManager.DefaultSpanSizeLookup
- GridLayoutManager.LayoutParams
- GridLayoutManager.SpanSizeLookup
- LinearLayoutCompat
- LinearLayoutCompat.LayoutParams
- LinearLayoutManager
- LinearLayoutManager.LayoutChunkResult
- LinearSmoothScroller
- LinearSnapHelper
- ListPopupWindow
- OrientationHelper
- PagerSnapHelper
- PopupMenu
- RecyclerView
- RecyclerView.Adapter
- RecyclerView.AdapterDataObserver
- RecyclerView.EdgeEffectFactory
- RecyclerView.ItemAnimator
- RecyclerView.ItemAnimator.ItemHolderInfo
- RecyclerView.ItemDecoration
- RecyclerView.LayoutManager
- RecyclerView.LayoutManager.Properties
- RecyclerView.LayoutParams
- RecyclerView.OnFlingListener
- RecyclerView.OnScrollListener
- RecyclerView.RecycledViewPool
- RecyclerView.Recycler
- RecyclerView.SimpleOnItemTouchListener
- RecyclerView.SmoothScroller
- RecyclerView.SmoothScroller.Action
- RecyclerView.State
- RecyclerView.ViewCacheExtension
- RecyclerView.ViewHolder
- RecyclerViewAccessibilityDelegate
- RecyclerViewAccessibilityDelegate.ItemDelegate
- SearchView
- ShareActionProvider
- SimpleItemAnimator
- SnapHelper
- StaggeredGridLayoutManager
- StaggeredGridLayoutManager.LayoutParams
- SwitchCompat
- ThemedSpinnerAdapter.Helper
- Toolbar
- Toolbar.LayoutParams
- Toolbar.SavedState
- TooltipCompat