And so wrote the application, but not always put the lines in the resources, and now when he added it would be necessary to put everything in the resources, but looking for all the lines in the / layout code is not very convenient and long. Maybe there is some way to immediately show all the lines, and I just add them.

    2 answers 2

    First, start the code inspection for the entire project (a dialog box appears that to inspect): Analyze -> Inspect Code

    After completing the analysis, you will receive a list of detected problems, among which will be Hardcored text ( Android Section > Lint> Internalization ).
    Double-clicking on each entry takes you to the place in the code (or markup) where you have hardcored lines.

    scrn

    Then, going to the desired stock, a yellow light bulb will appear to its left, clicking on it, select Extract String Resource - the tool will help move the string to the string.xml resource with possible integration (translations into other languages)

    scrn

      It is easy to find such lines: in the settings, set the Error level to "Hrdcoded text" (by default, it is warning). And all such lines will be highlighted in red + will produce errors when compiled.

      Inspections -> Hrdcoded text -> Severity -> Error 

      enter image description here

      To view all such lines, run Analyze -> Inspect code at a time Analyze -> Inspect code

      enter image description here