Make avatar in drawer rounded
This commit is contained in:
3 files changed
+8
-4
No files matched your search
@@ -22,12 +22,11 @@ import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.appcompat.widget.AppCompatImageView;
|
||||
|
||||
import com.google.android.material.imageview.ShapeableImageView;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.yorozuya.MathUtils;
|
||||
|
||||
public class FixedAspectImageView extends AppCompatImageView {
|
||||
public class FixedAspectImageView extends ShapeableImageView {
|
||||
|
||||
private static final int[] MIN_ATTRS = {
|
||||
android.R.attr.minWidth,
|
||||
|
||||
Reference in new issue
Block a user