android - How do you implement the Honeycomb purple/black gradient PreferencesActivity theme? -
I am using a selector to select topics for my preference:
& Lt; Style name = "standard theme selector" origin = "Android: Theme. Holo" & gt; & Lt; / Style & gt; The app is run in Aclaire +, but I want to use it in the appropriate topic in Honeycomb.
This selector looks like priorities activity Honeycomb dark style instead of gingerbread style, the background behind the gray list view is pure black rather than a purple / black or brown / black shield. I have seen the purple theme in system settings and browser settings. I've seen a gray version in the YouTube app.
I have also noticed that the shield is visible for only one moment in the form of AIDS, and the color of the gradient matches the color of the app's activity activity.
To get a bitmap background, you have to turn on hardware accelerated drawing for your activity / app. Also, make sure that you set up Android: targetSdkVersion = "11" or later.
Comments
Post a Comment