Android Theming Variables Glossary for Telegraph

Android Theming Variables Glossary for Telegraph

Astranzen

While creating themes for Telegraph for Android, you could find some parts of the app which variable you didn't know or you could face some variables you don't know what they change. And there are descriptions below variables in the in-app editor for new theme is an pro theme type, but their number will not allow editing the prevailing part of the theme, and this only worsens the situation, so you had to ask someone who knows more about theming than you.

I decided that this shouldn't be so and started working on creating a glossary that would have descriptions of all variables in Telegraph, and you can see the result here. This glossary has descriptions of all variables and hardly any new ones will be added. And I can help you with which of the 147 variables you need to leave, and which you need to remove from your .atptheme theme, for the very presence of some of these new variables will only take away from you the opportunity to edit some of the old variables of the usual theme .attheme by manually adding the variables you need from the standard theme for Telegram.


General

1. Theme color⠀—⠀themeColor
(in addition, it also changes chat_fieldOverlayText in channels and bots and checkbox in contacts and media signatures in the chat list and the color of the response before sending)

checkbox in contacts window was blue in .attheme

2. Dialog title/button color⠀—⠀dialogColor
(changes all the headings of all points, but she herself is of unknown use)

Apply second color to (when creating a new theme)

3. Main menu header⠀—⠀drawerHeaderColor
(in addition, it also changes)
4. Name color⠀—⠀drawerNameColor
5. Phone color⠀—⠀drawerPhoneColor

6. Action button (floating button)⠀—⠀chatsFloatingBGColor
(in addition, it also changes)
7. Floating pencil color and name⠀—⠀chatsFloatingPencilColor

8. Send button⠀—⠀chatSendIconColor

Screens

Main screen

Header

9. Header color⠀—⠀chatsHeaderColor

10. Gradient⠀—⠀chatsHeaderGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

11. Gradient color⠀—⠀chatsHeaderGradientColor

12. Header title color⠀—⠀chatsHeaderTitleColor

13. Header icons color⠀—⠀chatsHeaderIconsColor

14. Tabs background color⠀—⠀chatsTabsBGColor

15. Tab icon color⠀—⠀chatsHeaderTabIconColor

16. Tab unselected icon color⠀—⠀chatsHeaderTabUnselectedIconColor

17. Tab counter color⠀—⠀chatsHeaderTabCounterColor

18. Tab counter background color⠀—⠀chatsHeaderTabCounterBGColor

19. Count silent background color⠀—⠀chatsHeaderTabCounterSilentBGColor

Chats list

20. Background type⠀—⠀mainWallpaperFileOffset
(-1 - color, * - picture)

21.-22. WPMS¶WPS
(the picture itself)
{create in the internal editor on a completely edited, without WLS-link .attheme renamed to .atptheme, a theme in a text editor}

Caution, all images ever used, inside the code, overlap each other

23. Row color⠀—⠀chatsRowColor

24. Gradient⠀—⠀chatsRowGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

25. Gradient color⠀—⠀chatsRowGradientColor

26. Pinned msg background color⠀—⠀chatsPinnedMsgBGColor

27. Divider color⠀—⠀chatsDividerColor

28. Fav indicator color⠀—⠀chatsFavIndicatorColor

29. Name color⠀—⠀chatsNameColor

30. Group icon color⠀—⠀chatsGroupIconColor

31. Mute color⠀—⠀chatsMuteColor

32. Ticks color⠀—⠀chatsChecksColor

33. Message color⠀—⠀chatsMessageColor

34. Member color⠀—⠀chatsMemberColor

35. 'Photo/Sticker' text color⠀—⠀chatsMediaColor

36. Typing color⠀—⠀chatsTypingColor

37. Time/Date color⠀—⠀chatsTimeColor

38. Count color⠀—⠀chatsCountColor

39. Count background color⠀—⠀chatsCountBGColor

40. Count silent background color⠀—⠀chatsCountSilentBGColor

7. Floating pencil color

6. Floating background color

41. Highlight search color⠀—⠀chatsHighlightSearchColor

42. unknown variable⠀—⠀chatsHideStatusIndicator

Chat screen

Header

43. Header color⠀—⠀chatHeaderColor

44. Gradient⠀—⠀chatHeaderGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

45. Gradient color⠀—⠀chatHeaderGradientColor

46. Header icons color⠀—⠀chatHeaderIconsColor
(in addition, it also changes actionBarDefaultSearch in chat)

Search request was white in .attheme

47. Name color⠀—⠀chatNameColor

48. Status color⠀—⠀chatStatusColor
(in addition, it also changes pin color message chat_topPanelMessage)

The content text of the pinned message was white in .attheme, in addition changed chat_topPanelTitle

49. Online color⠀—⠀chatOnlineColor

50. Typing color⠀—⠀chatTypingColor

Chat list

51. Background type⠀—chatSolidBGColorCheck
(0 - default, 1 - color or picture)

52.-53. WPS¶WPE
(the picture itself)

It is possible to add your own background through a link taken from .attheme, for this the 52nd variable should be written on the next line (the theme icon along with the link will disappear during subsequent editing from the internal editor and the quality will deteriorate a little)
WLS=https://attheme.org?slug=*&mode=blur, &modemotion

54. unknown variable⠀—⠀wallpaperFileOffset

55. unknown variable⠀—⠀wallpaperFileEndOffset

56 Background color⠀—⠀chatSolidBGColor

57. Gradient⠀—⠀chatGradientBG
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

58. Gradient color⠀—⠀chatGradientBGColor

59. Right text color⠀—⠀chatRTextColor

60. Right link color⠀—⠀chatRLinkColor

61. Left text color⠀—⠀chatLTextColor

62. Left link color⠀—⠀chatLLinkColor

63. Selected message background color⠀—⠀chatSelectedMsgBGColor

64. Bot command color check⠀—⠀chatCommandColorCheck
(0 - off, 1 - on, apparently doesn't work)

65. Bot command color⠀—⠀chatCommandColor

66. Right time color⠀—⠀chatRTimeColor

67. Left time color⠀—⠀chatLTimeColor

68. Ticks color⠀—⠀chatChecksColor

69. Date color⠀—⠀chatDateColor

70. Right bubble color⠀—⠀chatRBubbleColor

71. Left bubble color⠀—⠀chatLBubbleColor

72. Date bubble color⠀—⠀chatDateBubbleColor

73. Set member color⠀—⠀chatMemberColorCheck
(0 - off, 1 - on)

74. Member color⠀—⠀chatMemberColor

75. Shared contact name color⠀—⠀chatContactNameColor

76. Forward right bubble name color⠀—⠀chatForwardRColor

77. Forward left bubble name color⠀—⠀chatForwardLColor

8. Send Icon

78. Text input color⠀—⠀chatEditTextColor

79. Text input background color⠀—⠀chatEditTextBGColor

80. Gradient⠀—⠀chatEditTextBGGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

81. Gradient color⠀—⠀chatEditTextBGGradientColor

82. Text input icons color⠀—⠀chatEditTextIconsColor

83. Attach background color⠀—⠀chatAttachBGColor

84. Gradient⠀—⠀chatAttachBGGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

85. Gradient color⠀—⠀chatAttachBGGradientColor

86. Attach text color⠀—⠀chatAttachTextColor

87. Emoji background color⠀—⠀chatEmojiViewBGColor
(exact value cannot be specified)

The black color is written -16777216 (#ff000000), but in fact gray

88. Gradient⠀—⠀chatEmojiViewBGGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

89. Gradient color⠀—⠀chatEmojiViewBGGradientColor

90. Emoji tab icon color⠀—⠀chatEmojiViewTabColor

91. Emoji selected tab color⠀—⠀chatEmojiViewTabIconColor

92. Chat bars color⠀—⠀chatQuickBarColor

93. Chat bars names color⠀—⠀chatQuickBarNamesColor

94. unknown variable⠀—⠀chatHideStatusIndicator

95. unknown variable⠀—⠀chatShowContactAvatar

96. unknown variable⠀—⠀chatShowOwnAvatar

97. unknown variable⠀—⠀chatShowOwnAvatarGroup

Contacts screen

Header

98. Header color⠀—⠀contactsHeaderColor

99. Gradient⠀—⠀contactsHeaderGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

100. Gradient color⠀—⠀contactsHeaderGradientColor

101. Header title color⠀—⠀contactsHeaderTitleColor

102. Header icons color⠀—⠀contactsHeaderIconsColor

Contacts list

103. Row color⠀—⠀contactsRowColor

104. Gradient⠀—⠀contactsRowGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

105. Gradient color⠀—⠀contactsRowGradientColor

106. Icons color⠀—⠀contactsIconsColor

107. Name color⠀—⠀contactsNameColor

108. Status color⠀—⠀contactsStatusColor

109. Online color⠀—⠀contactsOnlineColor

Header

110. Hide custom background⠀—⠀drawerHeaderBGCheck
(0 - off, 1 - on)

111. Hide custom background shadow⠀—⠀drawerHideBGShadowCheck
(0 - off, 1 - on)

3. Header color

112. Gradient⠀—⠀drawerHeaderGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

113. Gradient color⠀—⠀drawerHeaderGradientColor

114. Avatar color⠀—⠀drawerAvatarColor

4. Name color

5. Phone color

Options list

115. List color⠀—⠀drawerListColor

116. Gradient⠀—⠀drawerRowGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

117. Gradient color⠀—⠀drawerRowGradientColor

118. List divider color⠀—⠀drawerListDividerColor

119. Option icon color⠀—⠀drawerIconColor

120. Option color⠀—⠀drawerOptionColor

121. Version color⠀—⠀drawerVersionColor

Group/Contact Profile

Header

122. Header color⠀—⠀profileHeaderColor

123. Gradient⠀—⠀profileHeaderGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

124. Gradient color⠀—⠀profileHeaderGradientColor

125. Header icons color⠀—⠀profileHeaderIconsColor

126. Name color⠀—⠀profileNameColor

127. Status color⠀—⠀profileStatusColor

Options list

128. Row color⠀—⠀profileRowColor

129. Gradient⠀—⠀profileRowGradient
(0 - Disabled, 1 - Top Bottom, 2 - Left Right, 3 - Top-Left Bottom-Right, 4 - Bottom-Left Top-Right)

130. Gradient color⠀—⠀profileRowGradientColor

131. Name color⠀—⠀profileTitleColor
(through the internal editor it is prescribed how lucky I recommend through a text editor)

Status color (apparently an extra line)

132. Online color⠀—⠀profileOnlineColor

133. Icons color⠀—⠀profileIconsColor

134. Creator star color⠀—⠀profileCreatorStarColor

135. Admin star color⠀—⠀profileAdminStarColor

136. unknown variable⠀—⠀profileSummaryColor

Settings screen

Header

137. Header color⠀—⠀prefHeaderColor

138. Header title color⠀—⠀prefHeaderTitleColor

139. Status color⠀—⠀prefHeaderStatusColor

140. Header icons color⠀—⠀prefHeaderIconsColor
(responsible for the color of the icons when highlighting in the chat list)

141. Avatar color⠀—⠀prefAvatarColor

Options list

142. Background Color⠀—⠀prefBGColor

143. Shadow Color⠀—⠀prefShadowColor
(in addition, it also changes color, for example, the color of the settings items below)

And maybe some more

144. Section Color⠀—⠀prefSectionColor

145. Title Color⠀—⠀prefTitleColor

146. Summary/Subtitle Color⠀—⠀prefSummaryColor

147. Divider color⠀—⠀prefDividerColor


Recommendation

To eliminate the prevailing contradictions in the variables, when merging themes, I recommend using only these from the above for black theme:

  1. 1. themeColor
  2. 9. chatsHeaderColor
  3. 13. chatsHeaderIconsColor
  4. 18. chatsHeaderTabCounterBGColor
  5. 21.-22. WPMS¶WPS
  6. 23. chatsRowColor
  7. 27. chatsDividerColor
  8. 29. chatsNameColor
  9. 43. chatHeaderColor
  10. 46. chatHeaderIconsColor
  11. 48. chatStatusColor
  12. 52. WLS=https://attheme.org?slug=*&mode=blur, &modemotion
  13. 69. chatDateColor
  14. 72. chatDateBubbleColor
  15. 78. chatEditTextColor
  16. 79. chatEditTextBGColor
  17. 87. chatEmojiViewBGColor
  18. 98. contactsHeaderColor
  19. 101. contactsHeaderTitleColor
  20. 103. contactsRowColor
  21. 107. contactsNameColor
  22. 109. contactsOnlineColor
  23. 115. drawerListColor
  24. 118. drawerListDividerColor
  25. 122. profileHeaderColor
  26. 125. profileHeaderIconsColor
  27. 128. profileRowColor
  28. 131. profileTitleColor
  29. 142. prefBGColor
  30. 145. prefTitleColor

Plus for white:

  1. 12. chatsHeaderTitleColor
  2. 30. chatsGroupIconColor
  3. 47. chatNameColor
  4. 62. chatLLinkColor
  5. 102. contactsHeaderIconsColor
  6. 126. profileNameColor

Result

(ʇǝs ɹǝʇⅎɐ ʎʅʇɔǝɹɹoɔ pǝʎɐʅdsᴉp ʇou sᴉ punoɹƃʞɔɐꓭǝɔᴉʌɹǝs‾ʇɐɥɔ ⅎᴉ suoᴉʇɔɐ ǝɯɐs ǝɥʇ) ʎɹoɯǝɯ ɯoɹⅎ uoᴉʇɐɔᴉʅddɐ ǝɥʇ pɐoʅǝɹ ɹo/puɐ ǝpᴉsuᴉ ⅂SϺ ǝɯɐs ǝɥʇ ɥʇᴉʍ ǝɯǝɥʇʇɐ oʇ ʇᴉ ǝƃuɐɥɔ ʇsɹᴉⅎ ʇsnɯ noʎ uǝɥʇ ʻǝɹǝɥʇ sᴉ ʇᴉ ʇnq ʻʇǝs ƃuᴉɹnp punoɹƃʞɔɐq ʇɐɥɔ ǝɥʇ ǝǝs ʇou sǝop ɥdɐɹƃǝʅǝꓕ ǝɥʇ ⅎI

Thus added chats_mentionIcon, the color of the chats_sentReadCheck ticks, the transparency of contacts without a profile, the color of the pinned chat icons, the color of the side menu icon and its own color for the status bar when actionBarActionModeTop is highlighted. The latter is achieved by adding all actionBar variables
The author’s colors and content of the response, chat_addContact and chat_reportSpam, ownership of the status color, date and time of chat_serviceBackground and the background for media and photos over 10 mb chat_outFileBackground are added, or rather simply not touched from .attheme
And of course, the ability to change the color of the context menu is added and the background thread is added to the theme icon

Report Page