azrienoch · Jan 4, 2012 at 10:00 am

Holo Theme Compatibility Standard on Android ICS Explained

Adam Powell explained on the Android Developers Blog how to maintain a consistent look on Ice Cream Sandwich between your apps and the general user interface with a line or two of code.  And he explains the improvements in ICS to streamline theme porting.  The goal here is design consistency wherever possible within a device interface.

He explains that all devices running Android 4.0+ with the Android Market installed will necessarily have the Holo theme installed.  That doesn’t mean there will be only one look to ICS devices.  It means that all have these streamlining improvements, which are formal separation of theme families in the manifest.  You can call on the Holo theme, or DeviceDefault theme, which is the theme you (or a manufacturer looking to differentiate the look of their devices from other manufacturers’ devices) create.  Powell says, “Formally separating these theme families will also make future merges easier for manufacturers updating to a new platform version, helping more devices update more quickly.”

The neat thing about ICS forcing the availability of the Holo theme is that that app developers may be certain they maintain the look of their apps across device manufacturers by using the Holo theme.  Or, of course, you can choose to make your app consistent with the rest of the system by using DeviceDefault.  Lastly, Powell covers supporting themes for your app in older versions of Android using the resource system.   “Using Android’s resource system you can define themes for your app that are selected automatically based on the platform version of the device it’s running on.”

But not everyone thinks the added functionality and choice that comes with this change is a good idea. XDA Recognized Developer and Senior Moderator Chainfire said on Twitter, “This change breaks things. If it were made in a non-breaking manner, I would agree.” Chainfire wrote a post on his own blog explaining how to theme an app across Android versions to help developers with whatever the Holo compatibility standard breaks.

What do you think? Let us know in the comments.

Via: Engadget
Source: Android Developers Blog, Chainfire[dev~blog]


_________
Want something on the XDA Portal? Send us a tip!

azrienoch

azrienoch is an editor on XDA-Developers, the largest community for Android users. View azrienoch's posts and articles here.
Eric Hulse · Jul 7, 2015 at 05:59 pm · 2 comments

T-Mobile Galaxy S6 Battery Woes

I've been using a T-Mobile Galaxy S6 since the device launched with T-mobile's service. However, over this past holiday weekend I knew I would be in an area without reliable T-Mobile service. So, I opened up T-Mobile's default "Device Unlock" app , pressed unlock, and placed my AT&T SIM card in the device. Everything seemed to be working fine: strong signal, great LTE, good voice calls - until day 3. On Sunday, my Galaxy S6 felt very hot to the touch and...

XDA NEWS
Brian Young · Jul 7, 2015 at 12:26 pm · 3 comments

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the smartphone has become our primary method of reading and writing e-mails, messaging, and browsing the web. Though proclamations that "smartphones have replaced the personal computer" typically fall on deaf ears, the statements aren't without merit. Indeed, smartphones have "replaced"—or more accurately, "displaced"—PC's in several areas that they have traditionally been dominant. But how many of you look into your pocket, or on your desk, and...

XDA NEWS
Aamir Siddiqui · Jul 7, 2015 at 10:39 am · 2 comments

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the answers we received were varied, a lot of these responses and top comments stood out for helping one OEM: Sony. Some excerpts from our discussion are as below: And many more follow suit. Needless to say, many believe that Sony Mobile as a company is great and is worth saving. And all of these would be happy to hear that Sony will...

XDA NEWS
Share This