public static enum AaptOptions.Namespacing extends java.lang.Enum<AaptOptions.Namespacing>
| Enum Constant and Description |
|---|
DISABLED
Resources are not namespaced.
|
REQUIRED
Resources must be namespaced.
|
| Modifier and Type | Method and Description |
|---|---|
static AaptOptions.Namespacing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AaptOptions.Namespacing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AaptOptions.Namespacing DISABLED
They are merged at the application level, as was the behavior with AAPT1
public static final AaptOptions.Namespacing REQUIRED
Each library is compiled in to an AAPT2 static library with its own namespace.
Projects using this cannot consume non-namespaced dependencies.
public static AaptOptions.Namespacing[] values()
for (AaptOptions.Namespacing c : AaptOptions.Namespacing.values()) System.out.println(c);
public static AaptOptions.Namespacing 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