These are the relevant ones: http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_FOCUSABLE
http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_TOUCHABLE http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_TOUCH_MODAL On Jun 23, 2:16 am, "ferne.ych" <[EMAIL PROTECTED]> wrote: > Hi hackbod, > > Thanks a lot! The "Theme.Dialog" does work. > But could you pls tell me which flag in WindowManager.LayoutParams > can be used to the input behavior of a window? I tried some but none > seemed to do the job. > > Best regards > > On Jun 23, 2:19 pm, hackbod <[EMAIL PROTECTED]> wrote: > > > For an activity that looks like a dialog, in your manifest just use > > android:theme="Theme.Dialog". > > > For modeless windows, there are flags in WindowManager.LayoutParams > > that can be used to the input behavior of a window (though you > > probably only want to use these with dialog windows created inside of > > an activity, not on an activity window itself). > > > On Jun 22, 7:15 pm, "ferne.ych" <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > Is modeless window supported in Android? Or can I run an Activity > > > like running a Dialog (If I click the area outside of its size, it > > > will disappear)? > > > > Best regards --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

