Remove custom drawable to xml for new gradle plugin, rename some drawable, replace some drawable by vector
This commit is contained in:
1 parent
3ef767791d
commit
1528ac875c
69 files changed
+143
-48
No files matched your search
@@ -99,7 +99,7 @@ public class ContentLayout extends FrameLayout {
|
||||
drawable.setColor(ResourcesUtils.getAttrColor(context, R.attr.colorAccent));
|
||||
mFastScroller.setHandlerDrawable(drawable);
|
||||
|
||||
imageView.setDrawable(VectorDrawable.create(context, R.drawable.sadpanda_head));
|
||||
imageView.setDrawable(VectorDrawable.create(context, R.xml.sadpanda_head));
|
||||
|
||||
mRefreshLayout.setHeaderColorSchemeResources(
|
||||
R.color.loading_indicator_red,
|
||||
|
||||
@@ -469,7 +469,7 @@ public class Slider extends View {
|
||||
@SuppressWarnings("deprecation")
|
||||
public BubbleView(Context context, Paint paint) {
|
||||
super(context);
|
||||
mVectorDrawable = VectorDrawable.create(context, R.drawable.slider_bubble);
|
||||
mVectorDrawable = VectorDrawable.create(context, R.xml.slider_bubble);
|
||||
setBackgroundDrawable(mVectorDrawable);
|
||||
mTextPaint = paint;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user