Switch to CENTER_CROP for AvatarImageView

Fixes #3174
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-05-15 17:14:20 -07:00
parent 4f78309e51
commit 5ec9197912

View File

@ -15,12 +15,12 @@ public class AvatarImageView extends ImageView {
public AvatarImageView(Context context) {
super(context);
setScaleType(ScaleType.CENTER_INSIDE);
setScaleType(ScaleType.CENTER_CROP);
}
public AvatarImageView(Context context, AttributeSet attrs) {
super(context, attrs);
setScaleType(ScaleType.CENTER_INSIDE);
setScaleType(ScaleType.CENTER_CROP);
}
public void setAvatar(@Nullable Recipient recipient, boolean quickContactEnabled) {