Never mind - I found a way to do it:  define sdk-specific themes in
values-v3 & values-v5.


On Jan 12, 6:47 am, Flying Coder <[email protected]> wrote:
> My app also runs on Android 1.5 & 1.6.  Currently, I specify the
> translucent theme in the manifest.  Is there a way to conditionally
> specify either translucent orwallpaperdepending on the SDK version?
>
> Thanks,
> Steve
>
> On Jan 10, 2:11 pm, Romain Guy <[email protected]> wrote:
>
>
>
> > No, don't do this in code, do this in your manifest. Otherwise there
> > will be an ugly transition.
>
> > On Sun, Jan 10, 2010 at 9:57 AM, Beth Mezias <[email protected]> wrote:
> > > Just to confirm, the code is ok if it sets the theme:
> > >         setTheme(android.R.style.Theme_Wallpaper);
> > > Merci beaucoup!
>
> > > On Sat, Jan 9, 2010 at 11:50 AM, Romain Guy <[email protected]> wrote:
>
> > >> > Can you please tell me if an app is picking up the systemwallpaperto
> > >> > set it in an Activity, will the new livewallpaperbreak the
> > >> > activity?
>
> > >> Not at all. Thewallpapernow lives in its own process, in its own
> > >> window. If your app uses the correct theme in its manifest, it will be
> > >> transparent and show the livewallpaperunderneath. If not, you can
> > >> draw the staticwallpaperin your background yourself. You won't be
> > >> able to get live wallpapers though if you don't use the special
> > >>wallpapertheme.
>
> > >> > On Jan 9, 1:16 am, String <[email protected]> wrote:
> > >> >> On Jan 9, 7:30 am, Romain Guy <[email protected]> wrote:
>
> > >> >> > We are certainly not trying to piss off developers. The SDK is 
> > >> >> > coming
> > >> >> > *very soon* and we understand your frustration. Trust me that if we
> > >> >> > could release it right now we would.
>
> > >> >> Romain,
>
> > >> >> Thanks for your response, and I do want to reiterate that my (our)
> > >> >> frustration isn't directed at you personally. But if you have any way
> > >> >> of passing word up the chain of command, please try to let them know
> > >> >> that external developers are a vital part of the ecosystem, and
> > >> >> releasing the appropriate SDK *before* any new OS version needs to be
> > >> >> a priority. In fact, I'd go so far as to say that releasing an SDK
> > >> >> needs to be an immutable prerequisite for any OS upgrade.
>
> > >> >> Thanks again for your patience.
>
> > >> >> String
>
> > >> > --
> > >> > 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
>
> > >> --
> > >> Romain Guy
> > >> Android framework engineer
> > >> [email protected]
>
> > >> Note: please don't send private questions to me, as I don't have time
> > >> to provide private support.  All such questions should be posted on
> > >> public forums, where I and others can see and answer them
>
> > >> --
> > >> 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
>
> > > --
>
> > > Marie von Ebner-Eschenbach  - "Even a stopped clock is right twice a day."
> > > --
> > > 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
>
> > --
> > Romain Guy
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
-- 
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

Reply via email to