This post is the first in a series (hopefully) in which I spy on AOSP (hence the title - yes, I know I’m not winning any prizes for creative blog post titles!) and try to gather glimpses of what’s coming to the world of Android.
Disclaimer: Most of this is guess work. In many cases I’m not even looking at any code - the commit messages and review comments are as far I go. Do not make any decisions based on this post!
In this first episode, we will look at improvements coming to Android Studio (most probably in 1.4)
###Material Icon Picker
Now, I haven’t actually checked out this code and built it so I don’t know what the picker actually looks like, but it would be a safe bet to assume that it’ll be integrated into the existing “Asset Studio” (which itself started as a web app, then found its way into Eclipse and in its current avatar, it is part of AS).
###Material Color Suggestor
If I want to change the color palette of my app today, I need to go to http://www.materialpalette.com/ and choose my colors there and finally download the styles.xml file. This feature will make it easy for you to set your material color palette from within Android Studio. Moreover, the tool is a color suggestor - you choose a primary color and AS will suggest a primaryDark and an accent color that goes with it according to the material design specs.
###Import SVG as Vector Drawable
###VectorDrawable to PNG
This is not an Android Studio feature - rather it is a Gradle feature. It will convert vector drawables into PNGs for use with pre-Lollipop. This will be done at build time. I’m not sure if this means that we can do away with creating those
drawable-*hdpi PNGs altogether though.
###New Layout Editor
There is a large list of commits mentioning the “Nele” which seems to be an internal acronym for New Layout Editor. A cursory glance at it did not reveal much about what exactly is new in this layout editor. However, it is possible that this info is there buried somewhere in one of the 49 related commits and that I have missed it. One thing is for sure - this is a pretty big change and Google wouldn’t have embarked on it if it wouldn’t bring significant advantages to developers.
###AppBar creation in AS
Android Studio is gaining the capability to include an AppBar when you use the templates to create a new Activity. According to the commit message, this will be optional. Also, a dependency on the design support library will be included by default for new projects. This is a very welcome change.
Stay tuned for Part 2 where we go beyond the IDE and dig a little deeper into the toolchain.