I'm trying to have a transparent toolbar,
such that it will be shown on top of an ImageView
which is set as follow:
<ImageView
android:layout_width="fill_parent"
android:layout_height="0px"
android:layout_weight="8"
android:scaleType="center"
android:id="@+id/imageView"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:elevation="0dp"
/>
Illustration (blue area is an ImageView
):
so, it is transparent, but it pushes the ImageView
down, instead of being on top of it.
I also tried using android:elevation
, but it didn't help.