O'Reilly logo

Mastering Android Studio 3 by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vector Asset Studio

The vector graphics asset studio performs the same function as the raster graphics version, but it is more fun to work with. When dealing with preset icons, it is even simpler to use a sibling that requires nothing more than the selection of the material icon.

Vector Asset Studio

Once created, an asset like this is saved in XML as a VectorDrawable class:

<vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="24dp"     android:height="24dp"     android:viewportHeight="24.0"     android:viewportWidth="24.0">      <path         android:fillColor="#FF000000"  android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required