public static class TdApi.ThemeParameters extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
accentTextColor
An accent color of the text in the RGB format.
|
int |
backgroundColor
A color of the background in the RGB format.
|
int |
bottomBarBackgroundColor
A color of the bottom bar background in the RGB format.
|
int |
buttonColor
A color of the buttons in the RGB format.
|
int |
buttonTextColor
A color of text on the buttons in the RGB format.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
destructiveTextColor
A color of the text for destructive actions in the RGB format.
|
int |
headerBackgroundColor
A color of the header background in the RGB format.
|
int |
hintColor
A color of hints in the RGB format.
|
int |
linkColor
A color of links in the RGB format.
|
int |
secondaryBackgroundColor
A secondary color for the background in the RGB format.
|
int |
sectionBackgroundColor
A color of the section background in the RGB format.
|
int |
sectionHeaderTextColor
A color of text on the section headers in the RGB format.
|
int |
sectionSeparatorColor
A color of the section separator in the RGB format.
|
int |
subtitleTextColor
A color of the subtitle text in the RGB format.
|
int |
textColor
A color of text in the RGB format.
|
| Constructor and Description |
|---|
ThemeParameters()
Contains parameters of the application theme.
|
ThemeParameters(int backgroundColor,
int secondaryBackgroundColor,
int headerBackgroundColor,
int bottomBarBackgroundColor,
int sectionBackgroundColor,
int sectionSeparatorColor,
int textColor,
int accentTextColor,
int sectionHeaderTextColor,
int subtitleTextColor,
int destructiveTextColor,
int hintColor,
int linkColor,
int buttonColor,
int buttonTextColor)
Contains parameters of the application theme.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int backgroundColor
public int secondaryBackgroundColor
public int headerBackgroundColor
public int bottomBarBackgroundColor
public int sectionBackgroundColor
public int sectionSeparatorColor
public int textColor
public int accentTextColor
public int sectionHeaderTextColor
public int subtitleTextColor
public int destructiveTextColor
public int hintColor
public int linkColor
public int buttonColor
public int buttonTextColor
public static final int CONSTRUCTOR
public ThemeParameters()
public ThemeParameters(int backgroundColor,
int secondaryBackgroundColor,
int headerBackgroundColor,
int bottomBarBackgroundColor,
int sectionBackgroundColor,
int sectionSeparatorColor,
int textColor,
int accentTextColor,
int sectionHeaderTextColor,
int subtitleTextColor,
int destructiveTextColor,
int hintColor,
int linkColor,
int buttonColor,
int buttonTextColor)
backgroundColor - A color of the background in the RGB format.secondaryBackgroundColor - A secondary color for the background in the RGB format.headerBackgroundColor - A color of the header background in the RGB format.bottomBarBackgroundColor - A color of the bottom bar background in the RGB format.sectionBackgroundColor - A color of the section background in the RGB format.sectionSeparatorColor - A color of the section separator in the RGB format.textColor - A color of text in the RGB format.accentTextColor - An accent color of the text in the RGB format.sectionHeaderTextColor - A color of text on the section headers in the RGB format.subtitleTextColor - A color of the subtitle text in the RGB format.destructiveTextColor - A color of the text for destructive actions in the RGB format.hintColor - A color of hints in the RGB format.linkColor - A color of links in the RGB format.buttonColor - A color of the buttons in the RGB format.buttonTextColor - A color of text on the buttons in the RGB format.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object