Re: [android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-06 Thread Qi Luo
I guessed so. It did look like a fullscreen activity which was really not. I'll give another try. Thanks. On Mon, Jun 6, 2011 at 3:43 PM, Dianne Hackborn wrote: > There are actually a lot of dialogs you will see in the base platform that > are implemented this way. It definitely works. Having

Re: [android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-06 Thread Dianne Hackborn
There are actually a lot of dialogs you will see in the base platform that are implemented this way. It definitely works. Having the content behind go black typically indicates your theme is messed up and telling the system you have a full-screen UI even though you don't, so it mistakenly thinks

[android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-05 Thread Zsolt Vasvari
I can confirm Theme.Dialog works. I use it in my own app without any issue whatsoever. The background activity is still visible dimmed. On Jun 6, 12:55 pm, Qi Luo wrote: > On Mon, Jun 6, 2011 at 12:36 AM, Mark Murphy wrote: > > > On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote: > > > I've tried

Re: [android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-05 Thread Qi Luo
On Mon, Jun 6, 2011 at 12:36 AM, Mark Murphy wrote: > On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote: > > I've tried this, but I didn't figure out how to build a real dialog-like > and > > modal activity. Here's 2 issues I ran into, > > 1. I created a dialog-themed activity, but the background of

Re: [android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-05 Thread Mark Murphy
On Sun, Jun 5, 2011 at 12:28 PM, Qi Luo wrote: > I've tried this, but I didn't figure out how to build a real dialog-like and > modal activity. Here's 2 issues I ran into, > 1. I created a dialog-themed activity, but the background of  it was always > black, and the main activity under it was tota

Re: [android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-05 Thread Qi Luo
I've tried this, but I didn't figure out how to build a real dialog-like and modal activity. Here's 2 issues I ran into, 1. I created a dialog-themed activity, but the background of it was always black, and the main activity under it was totally invisible. 2. activity could be started and expect a

[android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Simon Jackson
Any droid developer would consider an activity, with a check for the modal activity in the app being displayed, and so switch to it, and finish. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-02 Thread Dianne Hackborn
STOP PROMOTING THIS. I am serious. You are telling people to do something that will cause their app to break. On Thu, Jun 2, 2011 at 5:42 AM, Qi Luo wrote: > > I saw much people wanted such a feature, me either. These days I've google-ed > around and tried serveral ways to get it right, final

[android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-02 Thread Zsolt Vasvari
Why do you keep advertisiting this horrible hack On Jun 2, 8:51 pm, Qi Luo wrote: > I saw much people wanted such a feature, me either. These days I've > google-ed around and tried serveral ways to get it right, finally > ended up with following solution. No thread synchronization, no > dia