I made a nice dialog with appearing animation in my app. But there is a little problem: I need to slide it to screen behind from a simple header bar. The header bar contains a simple graphic and a textView with my app's name so this dialog must be slide in UNDER or BEHIND from it if you know what i mean..

Question:

Is there a masking option to not show the dialog in that part of the layout or something else to achieve such an effect?

Thanks all,

share|improve this question

69% accept rate
feedback

1 Answer

up vote 1 down vote accepted

No you can't. Dialogs are modal so they are always on top and block focus.

You may be able to reposition the window itself, see positioning a dialog on screen but you won't be able to mask it as such.

As for animating dialogs, see http://stackoverflow.com/a/5591827/808940

share|improve this answer
feedback

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.