public
static
class
Toolbar.LayoutParams
extends 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
Inherited constants |
From class
android.view.ViewGroup.LayoutParams
int |
FILL_PARENT
|
int |
MATCH_PARENT
|
int |
WRAP_CONTENT
|
|
Inherited fields |
|
From class
android.view.ViewGroup.MarginLayoutParams
public
int |
bottomMargin
|
public
int |
leftMargin
|
public
int |
rightMargin
|
public
int |
topMargin
|
|
From class
android.view.ViewGroup.LayoutParams
|
Inherited methods |
From class
android.view.ViewGroup.MarginLayoutParams
int
|
getLayoutDirection()
|
int
|
getMarginEnd()
|
int
|
getMarginStart()
|
boolean
|
isMarginRelative()
|
void
|
resolveLayoutDirection(int arg0)
|
void
|
setLayoutDirection(int arg0)
|
void
|
setMarginEnd(int arg0)
|
void
|
setMarginStart(int arg0)
|
void
|
setMargins(int arg0, int arg1, int arg2, int arg3)
|
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
LayoutParams
public LayoutParams (Context c,
AttributeSet attrs)
Parameters |
c |
Context |
attrs |
AttributeSet |
LayoutParams
public LayoutParams (int width,
int height)
Parameters |
width |
int |
height |
int |
LayoutParams
public LayoutParams (int width,
int height,
int gravity)
Parameters |
width |
int |
height |
int |
gravity |
int |
LayoutParams
public LayoutParams (int gravity)