Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I am new to Android development and am enjoying learning thus far.

I understand the followind drawable folders are used to store graphic images png,bitmap, jpg etc for different devices due to the differing screen size:

res/drawable-mdpi, drawable-hdpi, drawable-xhdpi, drawable-xxhdpi

However what is confusing me is that alot of online tutorials advise me to "create a drawable folder" in which I will store XML files i.e. list_selector.xml

Am I correct in assuming they want me to create the "drawable" folder in my "res" directory?

I'd be grateful if anyone could confirm

Thank you
Posted

1 solution

That is correct, you are expected to create a drawable folder which is useful for storing resolution independent drawables, so things like XML based selectors and backgrounds.

You are correct in assuming that it should be /res/drawable.
 
Share this answer
 

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