读书人

android自定义1圆角ImageView

发布时间: 2013-11-08 17:52:01 作者: rapoo

android自定义一圆角ImageView

然后再写跟一般定义View一样:<cn.dotcreate.tt.ui.RoundAngleImageView
android:id="@+id/headIV"
android:layout_width="75dp"
android:layout_height="75dp"
android:layout_centerVertical="true"
android:layout_marginLeft="2dp"
app:roundWidth="10dp"
app:roundHeight="10dp"
android:src="@drawable/default_head_icon" />


效果如图:
android自定义1圆角ImageView

读书人网 >图形图像

热点推荐