MagicaSakura icon indicating copy to clipboard operation
MagicaSakura copied to clipboard

我想知道能不能扩展一下。支持drawable

Open DavidMGT opened this issue 6 years ago • 2 comments

比如多主题的颜色。我希望能增加接口。drawable也可以替换那就很强大了 @ColorRes int getThemeColorId(Context context, int colorId, String theme) { switch (colorId) { case R.color.theme_color_primary: return context.getResources().getIdentifier(theme, "color", getPackageName()); case R.color.theme_color_primary_dark: return context.getResources().getIdentifier(theme + "_dark", "color", getPackageName()); case R.color.theme_color_primary_trans: return context.getResources().getIdentifier(theme + "_trans", "color", getPackageName());

DavidMGT avatar Jul 18 '18 09:07 DavidMGT

这个接口用来自定义颜色替换的规则, 想增加什么接口?

xyczero avatar Aug 23 '18 02:08 xyczero

他想自定义其他资源比如图片的替换规则

DaveBoy avatar May 21 '19 00:05 DaveBoy