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.
Mario Tomás Serrafero · Apr 28, 2015 at 01:04 pm · 1 comment

LG G4 Day Event Coverage: Specs, Features, Design & More!

LG has been teasing us with a countdown for a while now, and today it reached down to zero: the LG G4 has now been unveiled in a live event that we got to watch and learn about what LG touted to be “The Great”. We didn’t feel it, but we certainly saw it and heard all about its features, specifications and design process. Did LG manage to deliver a substantial upgrade from last year’s critically acclaimed G3?   The...

XDA NEWS
Jimmy McGee · Apr 28, 2015 at 06:00 am · 2 comments

Xposed Modules to Modify Email – XDA Xposed Tuesday

Even though we have Dropbox and other ways to share files, people still want to send files by email. Some Email apps on your Android device have a limit on file sizes. These limits are often lower that the emails servers limits. Why can’t you attach to the limit set by your server? In this episode of XDA Xposed Tuesday, XDA TV Producer TK reviews a couple Xposed Modules that removed the file size limit of the email client. Today...

XDA NEWS
Emil Kako · Apr 27, 2015 at 12:26 pm · 5 comments

Do You Use 4:3 or 16:9 in the Camera App?

Every person has their own method of taking the best photos on their devices, but which aspect ratio is best when taking photos on your smartphone camera? Let us know whether you prefer to use 4:3 or 16:9 and why in the comments below.

DISCUSS
Share This