CustomImageView

by xuningjack

xuningjack / CustomImageView

Custom round or rounded ImageView image. (自定义圆形or圆角图片ImageView)

129 Stars 82 Forks Last release: Not found 7 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

CustomImageView

Custom Image View(自定义圆形、圆角图片) 效果图:
Alt text

使用:配置如下 <!--正常图-->

    
    

<!--圆形图-->
<com.example.customview.view.customimageview android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" jack:borderradius="10dp" jack:src="@drawable/icon" jack:type="round"></com.example.customview.view.customimageview>

<!--网络图-->
<com.example.customview.view.customimageview android:id="@+id/customImageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" jack:borderradius="20dp" jack:type="url" jack:src="@drawable/icon" jack:url_src="https://www.baidu.com/img/bd_logo1.png"></com.example.customview.view.customimageview>

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.