Skip to content

Commit 07142b4

Browse files
committed
自定义 圆形 圆角矩形 椭圆形 YHImageViewRoundOval 使用说明
1 parent 67681d2 commit 07142b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yhlibrary/src/main/java/org/yh/library/view/YHImageViewRoundOval.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
import android.graphics.Shader;
1212
import android.graphics.drawable.BitmapDrawable;
1313
import android.graphics.drawable.Drawable;
14+
import android.support.v7.widget.AppCompatImageView;
1415
import android.util.AttributeSet;
1516
import android.util.TypedValue;
16-
import android.widget.ImageView;
1717

1818
/**
1919
* 作者:游浩 on 2017/12/11 10:46
2020
* https://github.com/android-coco/YhLibraryForAndroid
2121
* 邮箱:yh_android@163.com
2222
* 实现圆形、圆角,椭圆等自定义图片View。
2323
*/
24-
public class YHImageViewRoundOval extends ImageView
24+
public class YHImageViewRoundOval extends AppCompatImageView
2525
{
2626
private Paint mPaint;
2727

0 commit comments

Comments
 (0)