Welcome to the Treehouse Community
Looking to learn something new?
in the video at 3:41 to end say some call yellow warning errors can some tell what is this should i fix it and how to fix it?
Seth is correct - the warning is caused by you hard-coding a string rather than using the resource file; don't worry about it. You code will still work fine - just carry on through the course and it'll all get fixed at the right time. You'll come to that later on.
Seth Kroger56,407 Points
Sadly your question didn't get linked to the video you were mentioning. It sounds like you typed in the actual strings into the layout (hard-coding) instead of using a @string/identifier to point to a string resource. These are strings that are kept in the file strings.xml in the res/values folder. If you are just starting out on Android it isn't strictly necessary to fix it, but it is a best practice to use string resources. It keeps you string text in one place and allows you to substitute translations in other languages you have automatically based on the device's local language settings.
why should i change refactor ? if i don change it app will not correctly ? or something else will happen?