Hi,
I created a RelativeLayout which has 2 SurfaceView. The layout looks
like below
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<SurfaceView android:id="@+id/main"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
>
<SurfaceView android:id="@+id/pip"
android:layout_width="120dip"
android:layout_height="90dip"
android:layout_alignBottom="@id/main"
android:layout_alignRight="@id/main"
>
</RelativeLayout>
It seems that the main surface is always above on pip surface even put
the pip definiation before the main. So how can i change the z-order
to bring the pip to front.