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

  • Is this article helps you understand ?
  • Yes   No

Let’s Connect

Recent Posts

Categories

FREE eBook reveals different ways Android Developer make money Android Dev Dollaring eBook
One More Step...

Enter your email and I'll send you a FREE copy of Android Dev Dollaring eBook:
Send Me This eBook  >> 
We hate SPAM and promise to keep your email address safe.

Download Your Free Copy

3 Reason To Download this free eBook:​
1. Different approach developer use to earn through App business
2. Learn how to generate passive income
3. Keep yourself updated with latest Android tutorial, freebies etc.
SEND ME THE LINK >>
One More Step...

Enter your email and I'll send you a FREE copy of Android Dev Dollaring eBook:
Send Me This eBook  >> 
We hate SPAM and promise to keep your email address safe.