Reputation: 2553
I want to find the usage of a certain string defined in strings.xml file. So, I select the string identifier and click find usage (or Alt+F7 in windows). However, I realized that Android studio does not search the files in res/xml folder (preference.xml) for usage check. Am I doing something wrong, or this is the way it behaves?
Upvotes: 2
Views: 1286
Reputation: 4363
In Android Studio
Step -1---> Find Usages
Step -2--> Change Selection Scope
Step -3--> Select Project Production Files(instead of project files)
Step -4-> Click OK
Note : And its Done ----> Start searching again :-)
Upvotes: 5