Android Studio Guide

How To Create Drawable Resource XML File in Android Studio

Drawable Resource XML is mostly created in drawable folder and is used in Android to add more customization for views. Here are step by step how to create new Drawable Resource XML in Android Studio.


How To Create Drawable Resource XML File in Android Studio:

Step 1: Firstly, Right Click on drawable as shown in figure below.

Right Click on drawable
Step 2: After that Go New > Drawable resource file as shown in figure below.

Click on drawable resource XML file
Step 3: After that New Resource file dialog box open on your computer screen. Enter File name in the text box and then press OK. Here File name is custom_button.

Important Note: File names must start with a lowercase letter.

Enter file name custom_button
Step 4: After that your drawable resource XML file will be created as shown in figure below.

Your drawable resource XML file will be created

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!

Download Free - Master Android App Development Sidebar

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link

Android Developer Facebook Group Free

Premium Free Project Source Code:

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link

See How AbhiAndroid Step By Step Video Training Helps You Master Android App Development

Video Training - Unlock step by step video training with new content added regularly. Develop Android Apps.
Android App Source Code - Get amazing Ecommerce, Food Ordering and Ultimate WebView source code with documentation.
close-link