Remove frame and shadow from CircleFramedDrawable

Also change the size the circled icon is drawn into to a 40dp by 40dp rect.

Bug: 18198624
Change-Id: I66d919a2f35ede614a90a423d2967a4c3bc18169
This commit is contained in:
Zoltan Szatmary-Ban
2014-12-18 12:10:16 +00:00
parent 506c13fd30
commit ae6ea36822
4 changed files with 5 additions and 63 deletions

View File

@@ -919,7 +919,8 @@ public final class Utils {
return CircleFramedDrawable.getInstance(context, icon);
}
}
return UserIcons.getDefaultUserIcon(user.id, /* light= */ false);
return CircleFramedDrawable.getInstance(context, UserIcons.convertToBitmap(
UserIcons.getDefaultUserIcon(user.id, /* light= */ false)));
}
/**