Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
Class Info |
|---|
public static class AppDownloadButtonStyle.Style Class that provides basic style information of the app download button. |
Qualifier and Type | Method Name and Description |
|---|---|
Drawable | Obtains the background of the app download button. |
int | Obtains the color ID of the text on the app download button. |
int | Obtains the font size of the text on the app download button. |
Typeface | Obtains the Typeface object. |
void | setBackground(Drawable background) Sets the background of the app download button. |
void | setTextColor(int textColor) Sets the color ID of the text on the app download button. |
void | setTextSize(int textSize) Sets the font size of the text on the app download button. |
void | setTypeface(Typeface tf) Sets the font style of the text on the app download button using the Typeface object. |
Method |
|---|
public Drawable getBackground() Obtains the background of the app download button. |
Returns
Type | Description |
|---|---|
Drawable | Background of the app download button. |
Method |
|---|
public int getTextColor() Obtains the color ID of the text on the app download button. |
Returns
Type | Description |
|---|---|
int | Color ID. |
Method |
|---|
public int getTextSize() Obtains the font size of the text on the app download button. |
Returns
Type | Description |
|---|---|
int | Font size. |
Method |
|---|
public Typeface getTypeface() Obtains the Typeface object. |
Returns
Type | Description |
|---|---|
Typeface | Typeface object. |
Method |
|---|
public void setBackground(Drawable background) Sets the background of the app download button. |
Parameters
Name | Description |
|---|---|
background | Background of the app download button. |
Method |
|---|
public void setTextColor(int textColor) Sets the color ID of the text on the app download button. |
Parameters
Name | Description |
|---|---|
textColor | Color ID. |
Method |
|---|
public void setTextSize(int textSize) Sets the font size of the text on the app download button. |
Parameters
Name | Description |
|---|---|
textSize | Font size of the text on the app download button, in pixels. |
Method |
|---|
public void setTypeface(Typeface tf) Sets the font style of the text on the app download button using the Typeface object. |
Parameters
Name | Description |
|---|---|
tf | Typeface object. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.