As @Maor Hadad and other upvotes suggested me : I convert my comment in an answer, so :
Since Android Studio 1.2.2, there is a new option in
"Analyse > Run inspection By Name" => "Hardcoded strings".
I used it and it seems quite more reliable with current version than “hardcoded text” (that checks only xml files).
Seen here link