Available Methods
- getColor ( )
- key_actionBarDefaultIcon ( )
- key_listSelector ( )
- ThemeInfo ( )
- key_windowBackgroundWhite ( )
- key_actionBarDefault ( )
- key_actionBarDefaultTitle ( )
- key_windowBackgroundGray ( )
- key_windowBackgroundWhiteGrayText2 ( )
- key_avatar_backgroundViolet ( )
- dividerPaint ( )
- key_actionBarDefaultSelector ( )
- key_windowBackgroundWhiteBlackText ( )
- avatar_savedDrawable ( )
- key_divider ( )
- key_windowBackgroundWhiteGrayText3 ( )
- key_windowBackgroundGrayShadow ( )
- getCurrentTheme ( )
- key_avatar_backgroundGreen ( )
- key_avatar_backgroundOrange ( )
- key_avatar_backgroundRed ( )
- key_avatar_backgroundPink ( )
- key_windowBackgroundWhiteBlueHeader ( )
- key_windowBackgroundWhiteValueText ( )
- getCurrentNightTheme ( )
- key_windowBackgroundWhiteGrayText4 ( )
- avatar_photoDrawable ( )
- key_avatar_backgroundCyan ( )
- key_switchThumb ( )
- key_emptyListPlaceholder ( )
- key_progressCircle ( )
- key_windowBackgroundWhiteHintText ( )
- hasThemeKey ( )
- key_radioBackgroundChecked ( )
- avatar_broadcastDrawable ( )
- key_avatar_text ( )
- setDrawableColor ( )
- key_windowBackgroundWhiteRedText5 ( )
- key_windowBackgroundWhiteInputFieldActivated ( )
- setSelectorDrawableColor ( )
- key_windowBackgroundWhiteRedText4 ( )
- key_windowBackgroundWhiteBlueText ( )
- key_switchTrackChecked ( )
- key_actionBarDefaultSubmenuBackground ( )
- key_fastScrollText ( )
- key_graySectionText ( )
- hasWallpaperFromTheme ( )
- isCustomTheme ( )
- key_groupcreate_sectionShadow ( )
- key_graySection ( )
- key_radioBackground ( )
- setRippleDrawableForceSoftware ( )
- autoNightSunriseTime ( )
- ThemeAccent ( )
- key_switchTrack ( )
- createDialogsResources ( )
- changeColorAccent ( )
- key_windowBackgroundWhiteGrayIcon ( )
- key_windowBackgroundWhiteInputField ( )
- createRoundRectDrawable ( )
- key_login_progressOuter ( )
- key_windowBackgroundWhiteLinkText ( )
- key_avatar_backgroundBlue ( )
- autoNightScheduleByLocation ( )
- key_avatar_backgroundInProfileBlue ( )
- key_switchThumbChecked ( )
- getEventType ( )
- key_checkboxSquareBackground ( )
- key_windowBackgroundWhiteRedText2 ( )
- MessageDrawable ( )
- key_actionBarDefaultSearchPlaceholder ( )
- key_contextProgressOuter2 ( )
- key_switch2Check ( )
- key_avatar_actionBarSelectorBlue ( )
- key_windowBackgroundWhiteGrayText ( )
- key_chat_attachAudioIcon ( )
- dialogs_botDrawable ( )
- key_windowBackgroundWhiteGrayLine ( )
- key_chats_actionBackground ( )
- key_chats_menuTopBackground ( )
- key_fastScrollActive ( )
- key_groupcreate_checkbox ( )
- chat_fileStatesDrawable ( )
- key_stickers_menu ( )
- key_avatar_backgroundActionBarBlue ( )
- OverrideWallpaperInfo ( )
- key_chat_attachGalleryIcon ( )
- key_actionBarDefaultSearch ( )
- key_chats_menuTopBackgroundCats ( )
- key_chats_verifiedBackground ( )
- isWallpaperMotion ( )
- chat_roundVideoShadow ( )
- createCircleDrawableWithIcon ( )
- selectedAutoNightType ( )
- key_contextProgressInner2 ( )
- key_groupcreate_spanText ( )
- key_groupcreate_sectionText ( )
- setCombinedDrawableColor ( )
- dialogs_searchNameEncryptedPaint ( )
- setCurrentNightTheme ( )
- AUTO_NIGHT_TYPE_SYSTEM
- refreshThemeColors ( )
- dialogs_verifiedDrawable ( )
- key_featuredStickers_addedIcon ( )
Related Classes
- android.content.Context
- android.view.View
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.widget.ImageView
- android.graphics.Canvas
- android.text.TextUtils
- android.graphics.Paint
- android.view.MotionEvent
- android.graphics.drawable.Drawable
- android.widget.LinearLayout
- android.content.SharedPreferences
- android.widget.FrameLayout
- android.view.Gravity
- android.util.TypedValue
- android.graphics.PorterDuff
- android.animation.ObjectAnimator
- android.view.inputmethod.EditorInfo
- androidx.recyclerview.widget.RecyclerView
- androidx.recyclerview.widget.LinearLayoutManager
- android.graphics.PorterDuffColorFilter
- org.telegram.messenger.MessagesController
- org.telegram.messenger.SharedConfig
Java Code Examples for org.telegram.ui.ActionBar.Theme#key_chats_menuTopBackgroundCats()
The following examples show how to use
org.telegram.ui.ActionBar.Theme#key_chats_menuTopBackgroundCats() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DrawerProfileCell.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
public String applyBackground(boolean force) { String currentTag = (String) getTag(); String backgroundKey = Theme.hasThemeKey(Theme.key_chats_menuTopBackground) && Theme.getColor(Theme.key_chats_menuTopBackground) != 0 ? Theme.key_chats_menuTopBackground : Theme.key_chats_menuTopBackgroundCats; if (force || !backgroundKey.equals(currentTag)) { setBackgroundColor(Theme.getColor(backgroundKey)); setTag(backgroundKey); } return backgroundKey; }
Example 2
Source File: DrawerProfileCell.java From Telegram with GNU General Public License v2.0 | 5 votes |
public String applyBackground(boolean force) { String currentTag = (String) getTag(); String backgroundKey = Theme.hasThemeKey(Theme.key_chats_menuTopBackground) && Theme.getColor(Theme.key_chats_menuTopBackground) != 0 ? Theme.key_chats_menuTopBackground : Theme.key_chats_menuTopBackgroundCats; if (force || !backgroundKey.equals(currentTag)) { setBackgroundColor(Theme.getColor(backgroundKey)); setTag(backgroundKey); } return backgroundKey; }