When I'm showing one fragment (which is full screen with #77000000
background) over another fragment (let's call it main), my main fragment still reacts to clicks (we can click a button even if we don't see it).
Question: how to prevent clicks on first (main) fragment?
EDIT
Unfortunately, I can't just hide main fragment, because I'm using transparent background on second fragment (so, user can see what located behind).
Visibility
of yourmain
Fragment
toGONE
when you're not using it. – adnealonClick
method doesn't returns anything. But you give an idea, thanks (I'll post answer soon). – Dmitry Zaytsev