|How to control the SurfaceView's z-order||hurri||3/23/09 2:12 AM|
I created a RelativeLayout which has 2 SurfaceView. The layout looks
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.
|Re: [android-developers] How to control the SurfaceView's z-order||Dianne Hackborn||3/23/09 10:32 AM|
I strongly recommend against using multiple surface views in a window. The way surface view is implemented is that a separate surface is created and Z-ordered behind its containing window, and transparent pixels drawn into the rectangle where the SurfaceView is so you can see the surface behind. We never intended to allow for multiple surface views.--
Android framework engineer
Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.
|Vijay||10/22/12 2:43 PM||<This message has been deleted.>|
|Re: [android-developers] How to control the SurfaceView's z-order||NoraBora||5/22/13 1:08 AM|
Hello, Dianne Hackborn.
Is this 'multiple surfaceview' still not-recommended?
I'm making Filter camera app with 1 SurfaceView(camera) and 1 GLSurfaceView(filter) targeting Froyo and higher.
but their z-order are sometimes changed.
I know TextureView is introduced but it is much higher than Froyo.
2009년 3월 24일 화요일 오전 2시 32분 18초 UTC+9, Dianne Hackborn 님의 말:
|Re: [android-developers] How to control the SurfaceView's z-order||NoraBora||5/22/13 3:41 AM|