The program has more than one theme possible. The theme is set based on a preference, *before* the content view is set. Does that make a difference?
I can make the same wallpaper theme a parent for my other (gradient drawable) themes. Currently, the other choices inherit from Theme. In this way the code will change only the background and not the theme. In other words, when an Activity in the app displays, if the users choose to set the system wallpaper the theme will be set by the Manifest and only the background is set programmatically in the Activity. However, if the user chooses something else, the other theme will have the wallpaper theme as a parent and setTheme will be called with a resource definition from xml in the values folder. Is this a problem? Do I need to rewrite my code to set the background each time and get the Theme only from the manifest? Thanks and regards, Beth On Sun, Jan 10, 2010 at 11:11 AM, 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 system wallpaper to > >> > set it in an Activity, will the new live wallpaper break the > >> > activity? > >> > >> Not at all. The wallpaper now 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 live wallpaper underneath. If not, you can > >> draw the static wallpaper in your background yourself. You won't be > >> able to get live wallpapers though if you don't use the special > >> wallpaper theme. > >> > >> > >> > > >> > 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]<android-developers%[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]<android-developers%[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]<android-developers%[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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html> - "Sports is like a war without the killing."
-- 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

