![]() |
Android resource file is a file that stores resources needed for the UI part of an android application. Like: Layout files, drawable files, etc. In the android application, it is very often that we need another resource file for another purpose in the existing application. There are many types of resource files Layout files, Drawables, Menus are some of them. In this article, we are going to learn how to these resources file when needed. Step By Step ImplementationStep 1: Go to the Res folder of the application Navigate to the res folder in the app and left-click on it, like the below-given image ![]()
Step 2: Click on the new option Follow the image below ![]()
Step 3: Select the android resources file Follow the image below ![]()
Step 4: Write the file name Follow the image below ![]()
Step 5: Choose the type of the resource From the drop-down menu select the type of the resource and click ok, follow the image below. ![]()
Now you have successfully added an android resources file to the existing project. |
Reffered: https://www.geeksforgeeks.org
Android |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |