Ich bin transparent transparentes Bild auf Backgrount des Layouts setzen, es funktioniert gut auf Lollipop + Geräte, Aber Hintergrund erscheint nicht auf Pre-Lollipop-Geräten. Hier ist mein .xml
Code.Transparentes Hintergrundbild (Drawable) auf KitKat 4.4.2
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible"
android:layout_below="@id/toolbar"
android:id="@+id/emptyWorkFlowImage">
<ImageView
android:layout_width="434dp"
android:layout_height="210dp"
android:src="@drawable/bg_empty_sequence_list"
android:id="@+id/ivEmptyLayout"/>
</RelativeLayout>
Hier ist mein transparentes Bild zum Zeichnen.
Bild hat einen Text und einen Pfeil ..
Können Sie einen Screenshot hinzufügen, damit wir verstehen können, was genau passiert? –
Es zeigt nichts im Hintergrund. Ich habe meine Frage mit Drawable aktualisiert, die ich für Hintergrund verwende. –