【发布时间】:2021-08-31 18:58:52
【问题描述】:
在可塑形图像视图上对边缘进行圆角处理后,圆角边缘周围仍然出现黑色边缘
这是我的 xml:
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/shapeableImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/background"
android:scaleType="fitXY"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shapeAppearance="@style/article_shape" />
【问题讨论】:
-
请添加@style/article_shape的代码?
-
其中一位父母的背景是黑色的。
-
这是我风格的代码
标签: android android-layout material-design material-components-android