Can't find resource identifiers from AAR in XML

后端 未结 1 820
北恋
北恋 2020-12-10 15:17

I developed a custom Preference for an application. It has two custom attributes. I\'m trying to move the Preference to a library project to reuse in other projects. I mo

相关标签:
1条回答
  • 2020-12-10 15:24

    Solved it from this post, down at the bottom where it talks about external libraries. Essentially, when referencing AAR elements in code you do so using the package specified in the AAR's manifest, but when referencing AAR elements in XML you cite the namespace of the project (not the AAR).

    0 讨论(0)
提交回复
热议问题