Hiding android.R resources in Android Studio 1.3+ autocomplete

前端 未结 2 732
一整个雨季
一整个雨季 2021-01-17 17:36

Is it possible to configure Android Studio to display only the @drawable resources that are inside the project folder?

The project I\'m

2条回答
  •  死守一世寂寞
    2021-01-17 17:49

    Looking through the AS's 'Code Completion' section, I didn't find any setting which allows to hide the SDK resources and use the app/lib resources instead:

    The recently implemented feature, mentioned by StefMa, probably will not help you as it works the other way: it allows library developers to hide some of the resources from the aar package and show only selected portion of resources, aka public recources. Chris Banes made a good intro in this feature here.

提交回复
热议问题