<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#05a7f2"
tools:context=".MainActivity">
<com.makeramen.roundedimageview.RoundedImageView
android:layout_width="250dp"
android:layout_height="250dp"
android:layout_centerInParent="true"
android:src="@drawable/ic_kenan"
app:riv_oval="true" />
</RelativeLayout>
* riv_border_width: 边框宽度
* riv_border_color: 边框颜色
* riv_oval: 是否圆形
* riv_corner_radius: 圆角弧度
* riv_corner_radius_top_left:左上角弧度
* riv_corner_radius_top_right: 右上角弧度
* riv_corner_radius_bottom_left:左下角弧度
* riv_corner_radius_bottom_right:右下角弧度
――――――――――――――――
版权声明:本文为CSDN博主「王睿丶」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余1页未读,立即下载