I want to find all hard-coded strings in my code to move them into strings.xml file for future localization. Such as :
Toast.ma
Go to Analyze > Run Inspection By Name... (Ctrl+Alt+Shift+I)
and type:
Hardcoded Text to find the hardcoded strings in
the .xml files;Hardcoded Strings to find the hardcoded strings in the .java files.Run it against the whole project, and you should get an inspection results panel that will show the hardcoded text instances.