Skip to content Skip to sidebar Skip to footer

Android: Framelayout Not Respecting Draw Order

I have a FrameLayout with four SurfaceViews arranged in a 2x2 grid. The user can resize each of the views. I'd like the views to be drawn in order of their area, with the largest v

Solution 1:

SurfaceView widgets are not drawn using the normal Android layout mechanism. Instead, each SurfaceView gets its own, separate window. I suspect those windows are not being reordered when the views are reordered. What you're trying to do would probably work for any other kind of widget.


Post a Comment for "Android: Framelayout Not Respecting Draw Order"