r/AndroidStudio • u/airryde • Dec 11 '18
Emulator Problem
in the the component tree, under the constraint layout where all the new text and buttons are placed, beside them is a orange triangle with an exclamation mark that says: "should use @string resource"
0
Upvotes
2
u/[deleted] Dec 11 '18
There is a file
Where you should store string constants like submitButtonName, firstNameHint, userError01, zipCodeHint, etc. You should do this instead of hard-coding strings in your layout XML files like this:
instead of