|
|
@@ -26,7 +26,7 @@ public class LogoBackground extends Drawable {
|
|
|
*/
|
|
|
public LogoBackground(Context context) {
|
|
|
this.context = context;
|
|
|
- this.logoBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_user_info_bg);
|
|
|
+ this.logoBitmap = BitmapFactory.decodeResource(context.getResources(), R.mipmap.ic_user_info_bg);
|
|
|
this.padding = dip2px(10);
|
|
|
}
|
|
|
/**
|
|
|
@@ -35,7 +35,7 @@ public class LogoBackground extends Drawable {
|
|
|
*/
|
|
|
public LogoBackground(Context context,int paddingDp) {
|
|
|
this.context = context;
|
|
|
- this.logoBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.ic_user_info_bg);
|
|
|
+ this.logoBitmap = BitmapFactory.decodeResource(context.getResources(), R.mipmap.ic_user_info_bg);
|
|
|
this.padding = dip2px(paddingDp);
|
|
|
}
|
|
|
|