I\'m new to android programming and I don\'t understand what I\'m doing wrong. I try to make a button like this in the xml file:
It's possible that the layout preview started drawing before all the files were processed. Android Studio and Eclipse both frequently suffer from tool synchronization problems.
In many cases, simply refreshing the layout preview will solve this problem (of course I'm assuming that you do have the string app_name defined). The arrow marks the refresh button (so many buttons!).