java.lang.Object | |
↳ | android.content.res.XResources.DimensionReplacement |
Callback for dimension replacements. Instances of this class can passed to
XResources.setReplacement(String, String, String, Object)
and its variants.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance that can be used for
XResources.setReplacement(String, String, String, Object)
to replace a dimension resource.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called by
Resources.getDimension(int) .
| |||||||||||
Called by
Resources.getDimensionPixelOffset(int) .
| |||||||||||
Called by
Resources.getDimensionPixelSize(int) .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates an instance that can be used for XResources.setReplacement(String, String, String, Object)
to replace a dimension resource.
value | The value of the replacement, in the unit specified with the next parameter. |
---|---|
unit | One of the COMPLEX_UNIT_* constants in TypedValue .
|
Called by Resources.getDimension(int)
.
Called by Resources.getDimensionPixelOffset(int)
.
Called by Resources.getDimensionPixelSize(int)
.