Browse - Programming Tips - Android: methods for controlling layering

Date: 2018oct13
OS: Android
Language: Java
Keywords: zorder, zindex, z-order, z-index

Q.  Android: methods for controlling layering

A.

View.bringToFront() View.bringChildToFront() View.setZ(float); View.getZ(); View.setTranslationZ(float); View.getTranslationZ(float); View.setElevation(float); View.getElevation();
SurfaceView.setZOrderMediaOverlay(boolean); SurfaceView.setZOrderOnTop(boolean);