public static enum BottomNavigation.Type extends java.lang.Enum<BottomNavigation.Type>
BottomNavigation
class can use to pre-populate various properties.Enum Constant and Description |
---|
FIXED
The FIXED bottom navigation type configures the BottomNavigation to
calculate the width of each bottom navigation action and
divide the width of the view by the number of actions.
|
SHIFTING
The SHIFTING bottom navigation type configures the BottomNavigation to
assign more width to the currently selected bottom navigation action.
|
Modifier and Type | Method and Description |
---|---|
static BottomNavigation.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BottomNavigation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BottomNavigation.Type FIXED
public static final BottomNavigation.Type SHIFTING
BottomNavigation
visible.public static BottomNavigation.Type[] values()
for (BottomNavigation.Type c : BottomNavigation.Type.values()) System.out.println(c);
public static BottomNavigation.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null