This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Android and the fly likes Holo Light appearing completely white on my HTC One X Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Holo Light appearing completely white on my HTC One X" Watch "Holo Light appearing completely white on my HTC One X" New topic
Author

Holo Light appearing completely white on my HTC One X

Steve Myers
Ranch Hand

Joined: Dec 08, 2012
Posts: 47
Crosspost of stackoverflow

Just getting started with Android development, the Holo Light theme is set in my styles.xml for v14. The theme appears correctly on all the emulators (it looks like the screenshot at http://developer.android.com/design/style/themes.html. However when I load it on my HTC One X the ActionBar and the buttons all appear completely white on a white background. I am certain it is using the theme setting from the styles.xml v14 folder. How can this be, I thought Holo themes were supposed to appear the same across all devices? Any suggestions on how to make the Holo light theme appear correctly on my device?

I have tried adjusting my screen settings, but items that are supposed to appear grey just appear completely white.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

That really sounds like your phone doesn't have API 14 on it and you do not provide a default style with a theme it does have.


Steve
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Quick search indicates HTC One X does in fact have Jelly Bean. Are you up to date? Perhaps there is an error in another part of the XML?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Holo Light appearing completely white on my HTC One X