abdfahim
abdfahim

Reputation: 2553

Android studio does not search res/xml folder to find usage

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

Answers (1)

Ravindra Shekhawat
Ravindra Shekhawat

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

Related Questions