public static enum LikeView.HorizontalAlignment extends Enum<LikeView.HorizontalAlignment>
Enum Constant and Description |
---|
CENTER
Setting the attribute to this value will center the button and auxiliary view in the parent view.
|
LEFT
Setting the attribute to this value will left-justify the button and auxiliary view in the parent view.
|
RIGHT
Setting the attribute to this value will right-justify the button and auxiliary view in the parent view.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static LikeView.HorizontalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LikeView.HorizontalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LikeView.HorizontalAlignment CENTER
public static final LikeView.HorizontalAlignment LEFT
public static final LikeView.HorizontalAlignment RIGHT
public static LikeView.HorizontalAlignment[] values()
for (LikeView.HorizontalAlignment c : LikeView.HorizontalAlignment.values()) System.out.println(c);
public static LikeView.HorizontalAlignment 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 nullpublic String toString()
toString
in class Enum<LikeView.HorizontalAlignment>