Skip to content

science09/CircleImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CircleImageView

自定义圆形的ImageView

  • 最终效果:

  • 使用方法:
 <com.example.circleimageview.CircleImageView
        xmlns:science="http://schemas.android.com/apk/res/com.example.circleimageview"
        android:id="@+id/imageview"
        android:layout_gravity="center"
        android:layout_width="150dp"
        android:layout_height="150dp"
        android:layout_marginTop="30dp"
        android:scaleType="centerCrop"
        science:border_width="2dp"
        science:border_color="#f2f2f2"
        android:src="@drawable/mm" />

About

自定义圆形的ImageView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages