Profile cover photo
Profile photo
Chris Myhalsky
Security professional.
Security professional.
About
Chris's posts

Post has shared content

Post has shared content

Post has shared content
And so begins the journey with CM12 and the theme engine.  Today we merged ~13,000+ lines of changes to CM12 for themes.  Nightly builds after today should include the theme engine for you all to enjoy.

There are a few things I would like to point out.

1.  Since Lollipop switched from holo to material styles, most, if not all, themes designed for CM11 won't look too great when applied on CM12, unless an app is still using the holo styles.  Keep that in mind as you play around with your existing themes.

2.  This one is extremely important to themers.  Some themes may have bad .9.png images and if that is the case the theme will no longer work.  We were a bit lenient with this situation in CM11 but due to major changes in the way aapt works we can no longer afford to be lenient.  If your theme no longer shows up or it won't install, check logcat to see why.  Most likely it will be a bad or malformed ninepatch.  (see attached screenshot of what you'll see if a bad theme is on your device)

3.  Another one for theme designers.  Currently you cannot have a theme that is designed for CM12 and CM11.  This is an issue with CM11 not knowing what to do with assets such as vector drawables.  I'm looking into a possible patch for CM11 but there will be no guarantee that a user will take the update and they may still experience issues with your theme so please keep this in mind.  The play store will allow you to submit an apk that is targeting CM12 instead of CM11 and it will provide the end user with the correct version.

4.  And another for you theme designers ;).  When designing a theme for CM12, you will need to make sure you specify a targetSdkVersion="21" in your <uses-sdk> tag.  This will let the system know that it was designed for CM12 and not CM11.  We will be updating the template in the coming days so you can use that as a reference.

5.  Play around and let us know what you think!

edit
Forgot to mention that we dropped support for themes based on the T-Mobile theme engine.
Photo

Post has shared content
Give us Majora's Mask!

Trying to post on here at least once a day, but it's so dead here that I can't really find the point in doing so.

Painting is hell. 

Post has attachment
Did you know?

Got the mounted combat update in Skyrim. I'm a very happy boy.

Watching episode after episode of Scrubs cause I have no life.

I did have a whole new perspective, you can stick to your convictions, and hopefully get rewarded, even if other people end up a little peeved, and yea my life was still in the crapper, but it felt good to finally be dealing with it on my own."

- JD "Scrubs"
Wait while more posts are being loaded