直播app开发搭建,ImageView 圆角实现 系统自带控件
直播app开发搭建,ImageView 圆角实现 系统自带控件
<androidx.cardview.widget.CardView
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="50dp"
app:cardCornerRadius="10dp"
app:cardElevation="0dp">
<ImageView
android:id="@+id/iv_beauty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/beauty1" />
</androidx.cardview.widget.CardView>
以上就是 直播app开发搭建,ImageView 圆角实现 系统自带控件,更多内容欢迎关注之后的文章