Open onexuan opened 5 years ago
Please check your code again, this method of the Android View.
Please check your code again, this method of the Android View.
no he is actually right. there is something for sure going on in case of the visibility / alpha value support of the gpuimage.GPUImageView (i guess thats what onexuan was refering to, right? - because the gpuImage itself isnt meant to be visible on its own as far as i understand this project. if u want to make it visible, u either need to set it up within a GLSurfaceView or a GPUImageView )
what i noticed is pretty much the opposite though. its really tought to hide the gpuimage.GPUImageView using whatever common method that use to work fine for any other type of view - like:
setAlpha(.0f) -> doesnt work. alpha in general seems to be completely out of the question to work on a surface view like that. even setVisibility.INVISIBLE or .GONE wasnt doing any promising.
only way to hide a GPUImageView so far that worked for me, is to scall it to 0 either on its height or width, lol.
gpuImage.setVisibility(View.VISIBLE) not work