java.lang.Object | |
↳ | com.htc.util.skin.HtcSkinUtil |
A class for apply skin configuration and get skin package information.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | PREVIEW_LAND | This constant is deprecated. No replacement. | |||||||||
int | PREVIEW_PORT | This constant is deprecated. No replacement. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the resource identifier for Color resource resName
| |||||||||||
Retrieves the theme id that application context should apply
| |||||||||||
Retrieves the resource identifier for Drawable resource resName
| |||||||||||
Retrieves the resource identifier for Integer resource resName
| |||||||||||
This method is deprecated.
Use
getSkinVersionCode() instead
| |||||||||||
Gets the version of the skin package by a given package name.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This constant is deprecated.
No replacement.
This constant is deprecated.
No replacement.
Retrieves the resource identifier for Color resource resName
context | Context for your Activity. |
---|---|
resName | The name of the resource you want to retrieve in the skin package. |
defRes | The default resource ID. MUST NOT be null. |
Retrieves the theme id that application context should apply
context | Context for your Activity |
---|
Retrieves the resource identifier for Drawable resource resName
context | Context for your Activity. |
---|---|
resName | The name of the resource you want to retrieve in the skin package. |
defRes | The default resource ID. MUST NOT be null. |
Retrieves the resource identifier for Integer resource resName
context | Context for your Activity. |
---|---|
resName | The name of the resource you want to retrieve in the skin package. |
defRes | The default resource ID. MUST NOT be null. |
This method is deprecated.
Use getSkinVersionCode()
instead
Gets the version of the skin package by a given package name.
context | The Context of the application |
---|
Gets the version of the skin package by a given package name.