PlaybackDrawableTint.java 文件源码

java
阅读 22 收藏 0 点赞 0 评论 0

项目:Orpheus 作者:
public static LevelListDrawable getRepeatDrawable36(Context context, int color) {
    final int one = R.drawable.ic_repeat_once_white_36dp;
    final int all = R.drawable.ic_repeat_white_36dp;
    final LevelListDrawable d = new LevelListDrawable();
    d.addLevel(0, 0, context.getResources().getDrawable(all));
    d.addLevel(1, 1, tintDrawable(context, one, color));
    d.addLevel(2, 2, tintDrawable(context, all, color));
    return d;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号