Hi hackbod,

    Actually, what I want to do is:
    1. run a activity with the theme of "Theme.Dialog". Supposing this
activity is running on the homescreen, so there are some icons of
applications on its background.
    2. click an icon, the application witch is clicked will be run.

    Is it possible to do this?

Best regards.


On Jun 24, 7:42 am, hackbod <[EMAIL PROTECTED]> wrote:
> These are the relevant ones:
>
> http://code.google.com/android/reference/android/view/WindowManager.L...
>
> http://code.google.com/android/reference/android/view/WindowManager.L...
>
> http://code.google.com/android/reference/android/view/WindowManager.L...
>
> 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 android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to