From the course: Android Studio Essential Training 2020

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Create vector image assets

Create vector image assets

From the course: Android Studio Essential Training 2020

Start my 1-month free trial

Create vector image assets

- I previously described how to use Android Studio to create bitmap files for your launcher icons. You could also create vector graphics. These are XML files. They describe graphical images that will adjust automatically to different screen sizes and pixel densities. So, unlike the files in your mipmap directory, where you need multiple versions for different screens, when you use Vector Assets you only need one. I'll go to my app module and right click and I'll choose New, Vector Asset. You can create these Vector Assets either from Clip Art or from your own Photoshop or SVG files. I'll use Clip Art and, as with bitmap images, you can search for the icons you need. I'll type the string "add" and then I'll choose this icon for adding something to my application. You can adjust the color of the icon by clicking here and then I'll scroll up to see different color possibilities. I'll create this as a blue icon, I'll…

Contents