The Mifos Initiative
Mifos Mobile CN app: Remove Hardcoded Text from XML Files
Objective
Remove hardcoded text from the xml files
Description
- Click on Analyze in Android Studio, Select Run Inspection by name and type in "hardcoded text"
- Wait for inspection to be complete and find the strings that are hardcoed and replace them by extracting String resource
References
https://stackoverflow.com/questions/25043809/how-can-i-find-all-hard-coded-strings-in-my-project-in-android-studio https://developer.android.com/guide/topics/resources/string-resource https://stackoverflow.com/questions/30099281/how-to-enable-extract-string-resource-popup-in-android-studio
How to get help
If you need help, be sure to post your question to our developer mailing list or ask in our chatroom.
Task tags
Students who completed this task
rg