|
@@ -1,7 +1,6 @@
|
|
package com.afollestad.materialdialogs;
|
|
package com.afollestad.materialdialogs;
|
|
|
|
|
|
-import android.support.annotation.ColorRes;
|
|
|
|
-import android.support.annotation.DrawableRes;
|
|
|
|
|
|
+import android.graphics.drawable.Drawable;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Use of this is discouraged for now; for internal use only. See the Global Theming section of the README.
|
|
* Use of this is discouraged for now; for internal use only. See the Global Theming section of the README.
|
|
@@ -30,18 +29,11 @@ public class ThemeSingleton {
|
|
// <attr name="md_divider_color" format="color" />
|
|
// <attr name="md_divider_color" format="color" />
|
|
|
|
|
|
public boolean darkTheme = false;
|
|
public boolean darkTheme = false;
|
|
- @ColorRes
|
|
|
|
public int titleColor = -1;
|
|
public int titleColor = -1;
|
|
- @ColorRes
|
|
|
|
public int contentColor = -1;
|
|
public int contentColor = -1;
|
|
- @ColorRes
|
|
|
|
public int accentColor = -1;
|
|
public int accentColor = -1;
|
|
- @ColorRes
|
|
|
|
public int itemColor = -1;
|
|
public int itemColor = -1;
|
|
- @DrawableRes
|
|
|
|
- public int icon = -1;
|
|
|
|
- @ColorRes
|
|
|
|
|
|
+ public Drawable icon = null;
|
|
public int backgroundColor = -1;
|
|
public int backgroundColor = -1;
|
|
- @ColorRes
|
|
|
|
public int dividerColor = -1;
|
|
public int dividerColor = -1;
|
|
}
|
|
}
|