EDIT:
Current effect: image current
Desired effect: image desired
Note
First of all, I tried bringToFront
but it didn't work as expected.
Explanation
When a Dialog is shown the background gets darker, I guess it's due to a new Fragment
with a translucent black background being placed on top of the Activity
.
In our Activity there is an ImageButton
that we want the User to see. We show a Dialog
explaining what the ImageButton
is for, but we also want it not to be affected by the Dialog
shadow. It's like a tutorial message.
Future consideration
Also, please keep in mind that we will also transform the View (sizewise).
iOS
My workmate made it easily in iOS with bringToFront
and some transformations.
Thanks
I haven't been able to do it in Android and haven't been able to successfully search it on Google neither Stack Overflow.
I think it's clear but I can provide an image later today if needed. Bye!