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:
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/btnText"
android:id="@+id/button"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
This works fine, without the android:text="@string/btnText" part...
My strings.xml file looks like this:
<string name="btnText">GO!</string>
I get this error message: Rendering Problems Couldn't resolve resource @string/app_name (2 similar errors not shown)
The problem is that the button text says @string/btnText instead of GO!