Hi all,
I have set the flag 'FLAG_NOT_TOUCH_MODAL' for the dialog. So that
when dialog is launched i can interact with other elements in the
layout.
But when touched outside, i want to recieve the focus change. I
couldnt find setFocusable(true) api for dialog or set the focus
listeners for dialog.
Can anyone tell me, how to receive when focus comes in / goes out of
dialog.?
requestWindowFeature(Window.FEATURE_NO_TITLE);
Window window = this.getWindow();
window.setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL,
WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL);
window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
These are the properties i set for the window, in cstr of my custom
dialog.
Thanks, Mani
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en