The Mifos Initiative

Mifos Mobile CN app: Remove Hardcoded Text from XML Files

Objective

Remove hardcoded text from the xml files

Description

  1. Click on Analyze in Android Studio, Select Run Inspection by name and type in "hardcoded text"
  2. 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

  • xml
  • Android
  • good first issue
  • mifos-mobile-cn

Students who completed this task

rg

Task type

  • code Code
close

2019