class ThemeUtils
Utils for application theme configuration.
<init> |
Utils for application theme configuration. ThemeUtils() |
isDarkTheme |
Whether the current configuration is a dark theme i.e. in Night configuration. fun isDarkTheme(context: Context): Boolean |
isLightTheme |
Whether the current configuration is a light theme i.e. in Day configuration. fun isLightTheme(context: Context): Boolean |
setNightMode |
Force AppCompatDelegate Mode to night/notnight. fun setNightMode(forceNight: Boolean, delay: Long = 0L): Unit |