为什么 line_solid 没有出现?
Why line_solid does not appear?
为什么 line_solid 没有出现?它适用于 line_dotted
<ImageView
android:id="@+id/image_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:src="@drawable/line_solid"
android:layerType="software"
android:tint="@color/color_primary_variant"
android:layout_marginTop ="@dimen/margin_padding_size_medium"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_app_description"/>
也许你可以试试这个。是提供线。
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#FFFFFF"/>
我找到了答案
我需要将标签从 - android:tint= ..
更改为 - android:background= ..
非常感谢您的启发:)
为什么 line_solid 没有出现?它适用于 line_dotted
<ImageView
android:id="@+id/image_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:src="@drawable/line_solid"
android:layerType="software"
android:tint="@color/color_primary_variant"
android:layout_marginTop ="@dimen/margin_padding_size_medium"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_app_description"/>
也许你可以试试这个。是提供线。
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#FFFFFF"/>
我找到了答案
我需要将标签从 - android:tint= ..
更改为 - android:background= ..
非常感谢您的启发:)