There are two la s for android development.
This article focuses on the xml method.
Because of the new ADT, the android: text check HardcodeedText (hard-coded (that is, the resource string is not used to represent the string) will be performed on the xml file, so friendly eclipse will issue a warning
You should call it in the @ string method, and then give you an evil yellow warning, actually... There is no problem with one or two yellow colors. When you make a form. When a lot of hard code is used, the evil yellow warning will impede your development speed, because it will also waste your CPU for checking, making eclipse very slow.
Therefore, the focus of this article is to ignore it. Do not check this HardcodeedText (hard-coded)
1. Select Window> preferences in the Eclipse menu bar;
Enter Lint Error in the input box (some eclipse may be different), but most of them are the same
2. Then input hardcode in the Issues: input box.
3. click the Internationalization column to operate Severity. If the operation is not Ignore, click OK and try again to open your xml. Then, the evil yellow warning will not appear... Hahaha