| Modifier and Type | Field and Description |
|---|---|
static int |
adSize
The size of the ad.
|
static int |
adSizes
A comma-separated list of the supported ad sizes.
|
static int |
adUnitId
The ad unit ID.
|
static int |
circleCrop
Whether or not this view should have a circular clip applied
|
static int |
imageAspectRatio
The fixed aspect ratio to use in aspect ratio adjustments.
|
static int |
imageAspectRatioAdjust
What kind of aspect ratio adjustment to do.
|
| Constructor and Description |
|---|
R.attr() |
public static 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 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 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 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 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 int imageAspectRatioAdjust
Must be one of the following constant values.
| Constant | Value | Description |
|---|---|---|
none | 0 | |
adjust_width | 1 | |
adjust_height | 2 |
Copyright © 2016 Creative Mobile. All rights reserved.