Back to project page material-dialogs.
The source code is released under:
MIT License
If you think the Android project material-dialogs listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.afollestad.materialdialogs; // ww w .j a v a2s . c o m import android.graphics.drawable.Drawable; /** * Use of this is discouraged for now; for internal use only. See the Global Theming section of the README. */ public class ThemeSingleton { private static ThemeSingleton singleton; public static ThemeSingleton get(boolean createIfNull) { if (singleton == null && createIfNull) singleton = new ThemeSingleton(); return singleton; } public static ThemeSingleton get() { return get(true); } public boolean darkTheme = false; public int titleColor = 0; public int contentColor = 0; public int accentColor = 0; public int itemColor = 0; public Drawable icon = null; public int backgroundColor = 0; public int dividerColor = 0; public Drawable selector; public Drawable btnSelector; }