[android-developers] Re: Hide Activity

2010-04-29 Thread Ajay
Thank you!!

On Apr 28, 6:16 pm, Mohan Krishna 
wrote:
> hiajay,
> define your own theme and add that theme to the activity in
> manifest.xml that you want to change.
>
> create a new xml file in res/values,
> and in the androidmanifest.xml file add your that theme to your
> activity.
>
> you can use this as an example
>
> 
>         @null
>         true
> 
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Hide Activity

2010-04-28 Thread Mohan Krishna
hi ajay,
define your own theme and add that theme to the activity in
manifest.xml that you want to change.

create a new xml file in res/values,
and in the androidmanifest.xml file add your that theme to your
activity.

you can use this as an example


@null
true


-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Hide Activity

2010-04-28 Thread Ajay
I could accomplish this using this

android:theme="@android:style/Theme.Translucent"

Just wondering, is it possible to use more than 1 theme for an
activity? For example we could have an activity with these themes
NoTitleBar and Translucent.

Thank you,
AJ

On Apr 28, 11:19 am, Ajay  wrote:
> Hi,
>    I want to show a progress dialog, while I check something in the
> background and display a message finally and exit the app. Can I hide
> the Activity in the background? I tried using
> android:theme="@android:style/Theme.NoDisplay" in the manifest file,
> but the window shows up when I show the progress dialog or the
> AlertDialog.
>
> Thank you,
> AJ
>
> --
> 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
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en