public static final class R.attr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
adSize
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
adSizes
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
adUnitId
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
|
static int |
circleCrop
Must be a boolean value, either "
true " or "false ". |
static int |
imageAspectRatio
Must be a floating point value, such as "
1.2 ". |
static int |
imageAspectRatioAdjust
Must be one of the following constant values.
|
Constructor and Description |
---|
R.attr() |
public static final int adSize
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int adSizes
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int adUnitId
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int circleCrop
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int imageAspectRatio
Must be a floating point value, such as "1.2
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
public static final int imageAspectRatioAdjust
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | |
adjust_width | 1 | |
adjust_height | 2 |