I'm trying to add a 9-patch image for a button.
Its supposed to be in the /res/drawable/ but I need an identifier in R.java. How do I do that?
I copied the .9.png image to all the res/drawable-*/. But I don't know how to get an $res. identifier.
It says I need to set the background using
Those identifiers should be automatically generated for you, so you should not need to add it anywhere, they should "just work".
Maybe your IDE needs to be refreshed or the project cleaned at rebuilt.