From 1220db82f34918f7fd9ef7efef7102c92de4d334 Mon Sep 17 00:00:00 2001 From: WangYang Date: Mon, 23 Nov 2015 15:18:49 +0800 Subject: [PATCH] fix: The view covers the intensity-adjust slider. The zOrderOnTop attrib is not neccessary. --- .../src/jp/co/cyberagent/android/gpuimage/GPUImageView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/src/jp/co/cyberagent/android/gpuimage/GPUImageView.java b/library/src/jp/co/cyberagent/android/gpuimage/GPUImageView.java index 05b15fcf7..bab4e361f 100644 --- a/library/src/jp/co/cyberagent/android/gpuimage/GPUImageView.java +++ b/library/src/jp/co/cyberagent/android/gpuimage/GPUImageView.java @@ -57,7 +57,8 @@ public GPUImageView(Context context, AttributeSet attrs) { private void init(Context context, AttributeSet attrs) { mGLSurfaceView = new GPUImageGLSurfaceView(context, attrs); - mGLSurfaceView.setZOrderOnTop(true); +// mGLSurfaceView.setZOrderOnTop(true); + mGLSurfaceView.setZOrderMediaOverlay(true); mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0); mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSPARENT); addView(mGLSurfaceView);