Zindex image access

You must Login before you can answer or comment on any questions.

Hello, i would like to know if what my next idea is doable.

I have my application and i would like to display a filter image( like a nightvision mode for exemple ). So i want to display a green picture on my screen with 0.5opacity.

Consequently, this filter must have the highest zindex but now, i can't touch my buttons on my application because my view is taking the taps :/

So i would like to have a passive picture.

Is there any way to tackle this problem?

Thanks a lot

— asked 10 months ago by jeremie m
0 Comments

1 Answer

I could answer by myself. This is my solution.

view.focusable = false;
view.setTouchEnabled(false);
Thank you

Your Answer

This question has been locked and cannot accept new answers.