I am trying to understand the basics of the android designer. Now I am trying to use resources, but don't get them to really work. 1) in the project is a Strings.xml and in that same directory I added a colors.xml. However when I press the ... somewhere in a property of the designer, I get this dalog, in which the 'project resources' are always empty, nothing to choose from, but I do have resources in my project. In the colors.xml I added a color, but in the designer I am unable to use it like @colors/red or something does nothing. I also added a png to the drawable directory. Made it an Android Resource. But when I have a imagebutton in the designer and set it to @drawable/iconname , nothing is shown. What am I missing?
↧