How to find Strings.xml words in Android Studio?

You can get the "Show xyz field usage" using the cursor and command (on Mac) in Java. How to find where a specific xml tag was used? For example, how to find the use of the Hello key: <string name="Hello">Hello world</string>

+6
source share
1 answer

Right-click the resource name in the strings.xml file (in your case, on Hello ) or on the code identifier and select Find Usage Methods . This will give you use of this permission.

OSX Command-Option-F7
Windows Shift + F7

+5
source

Source: https://habr.com/ru/post/1011500/


All Articles