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.

How the z-order of a surface determined?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to