So im doing Tutorials and im on to sections about images. It says to put them into the folder res/drawable. But i dont have that folder i have three res/drawable-hdpi, res/drawable-ldpi and res/drawable-mdpi. So whats the difference between the three?
Im using a tuorial: http://developer.android.com/resources/ ... inner.html
One of the steps is:
Create a strings.xml file in res/values/ and edit the file to look like
There already is a strings.xml. combined with the above tellign me to use res/drawable, are these tutorials out of date?
This tutorial has code like:
R.layout is just simple enuf. uses the main.xml in the layout folder. But where are R.id and R.array to come from. Cos it is coming up in eclipse saying it doesnt know what they are. R.java gets updated automatically, so can someone tell me from reading that tutorial where id gets added to R? It says that
The R.array.planets_array ID references the string-array defined above
Only it doesnt work. I doubt it makes a difference that i didnt make strings.xml since its the same filename in the same location. But since R.java is meant to be updated automatically i dont know how to fix this.