A circular ImageView simply used as normal ImageView.

Min SDK   21
Latest Commit   2016-11-24 06:16:58
License   

Github   https://github.com/zuoweitan/CircleImageView

         

Using app client to scan QR code to run Demo


         

Similarily...
ImageTransition A small android library to transition between a circular ImageView from one Activity to a rectangular ImageView in the launched Activity.
CircleImageView A circular ImageView for Android
FrescoImageView FrescoImageView是一种Android平台的图像控件,可以异步加载网络图片、项目资源和本地图片,并且支持双指缩放、图片的基本处理以及Fresco的所有特性。
README

README.md

CircleImageView

A circular ImageView simply used as normal ImageView.

CircleImageView

it's easy to use just like ImageView,and you never need to do this:

  • create a new bitmap.
  • fixed scale type.(CENTER_CROP)

you can simply use the library like Picasso or Glide with this view.

Gradle

dependencies {
    ...
    compile 'com.vivifarm.view:circleimageview:1.2.0'
}

Usage

<com.zuowei.circleimageview.CircleImageView
  android:src="@mipmap/lufei"
  android:scaleType="centerCrop"
  style="@style/circle_style" />
  
<com.zuowei.circleimageview.CircleImageView
  android:src="@mipmap/lufei"
  android:scaleType="centerInside"
  style="@style/circle_style" />

<com.zuowei.circleimageview.CircleImageView
  android:src="@mipmap/lufei"
  android:scaleType="fitXY"
  style="@style/circle_style" />

<com.zuowei.circleimageview.CircleImageView
  android:src="@mipmap/lufei"
  android:scaleType="fitCenter"
  style="@style/circle_style" />
  
<com.zuowei.circleimageview.CircleImageView
  android:src="@mipmap/lufei"
  android:scaleType="matrix"
  style="@style/circle_style" />