When using an Android Library Project how do you reference xml resources properly?

前端 未结 4 1192
耶瑟儿~
耶瑟儿~ 2020-12-29 20:02

I have an Android Library Project that contains several styles/themes defined in its styles.xml file.

Normally, when referencing this style in some other xml layout

4条回答
  •  心在旅途
    2020-12-29 20:09

    I use IntelliJ and what worked for me is to reference the resource normally and to make sure the library is added as a dependency of the project

提交回复
热议问题