Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am following a tutorial which is done in eclipse, but i am working on Android studio.
There is a creation of XML file for values in the tutorial which is to be placed in drawable folder of resources in the project.
When I try to create the above said file in the drawable folder, it automatically shifts to values folder.
How can i make it possible that the file will remain in the drawable folder?
Posted
Comments
JoCodes 25-Apr-15 10:25am    
Can you add the link of the eclipse based tutorial referring to?

1 solution

Not sure what exactly you where trying to do.But seems that you were trying to create xml file which contains values in the drawable folder. Drawable folders are special folders intended to hold the Images needed for the screens. But it also allows XML files to be placed inside. One such scenario is shaping the buttons ( example rounded/curved button design) . If something similar was you checking for then

Right Click on Drawable folder -> New -> Drawable Resource File , will create a XML file inside the Drawable folder.

If intended something else , please mention that in the question.
 
Share this answer
 
Comments
Member 11402033 27-Apr-15 9:46am    
Thanks , that's what i was looking for , but i already got it before u told me, thanks again, i will b looking forward to u for future advice
JoCodes 27-Apr-15 10:11am    
you are always welcome

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900