error code: Hardcoded string "Next", should use @string
resource
Asked
Active
Viewed 73 times
1 Answers
0
Its lint warning. It is showing you best practice that you should follow. Instead of using "Next" directly on TextView add a string resource somewhat like this in your strings.xml
<string name="next">Next</string>
and use on TextView like this
android:text="@string/next"

nitinkumarp
- 2,120
- 1
- 21
- 30