Sergey Shustikov Sergey Shustikov - 3 months ago 21
Android Question

Android find all hardcoded strings in code using Android Studio

I want to find all hard-coded strings in my code to move them into

strings.xml
file for future localization. Such as :

Toast.makeText(context,"Hardcoded text",LENGTH_SHORT).show();


I using Android Studio.

Answer

This answer not getting to me any result.

Nonetheless, for future searches :

In Android Studio 1.2.2 added new Option Hardcoded strings(not a Hardcoded text) and this getting to me perfect searches result.