public static enum Toolbar.Alignment extends Enum<Toolbar.Alignment>
| Enum Constant and Description |
|---|
CENTER
Children are centered.
|
END
Children are aligned to the right (if horizontal) or bottom (if vertical).
|
START
Children are aligned to the left (if horizontal) or top (if vertical).
|
| Modifier and Type | Method and Description |
|---|---|
static Toolbar.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Toolbar.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Toolbar.Alignment START
public static final Toolbar.Alignment CENTER
public static final Toolbar.Alignment END
public static Toolbar.Alignment[] values()
for (Toolbar.Alignment c : Toolbar.Alignment.values()) System.out.println(c);
public static Toolbar.Alignment valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Fujion Framework. All rights reserved.