开发者

Implementing a custom Android View library component. Where to put drawables?

开发者 https://www.devze.com 2023-03-05 17:45 出处:网络
I\'m developing a custom Android view which i want to be reused. I want to implement it as a shared jar l开发者_如何学JAVAibrary.

I'm developing a custom Android view which i want to be reused. I want to implement it as a shared jar l开发者_如何学JAVAibrary.

My view needs some drawable resources and i'm wondering where is the proper place to store them, as the common /res/drawable-* project folder is not suitable, as it is a seperate library.


You have to make an Android Library Project, rather than a straight Jar if you want to include application resources.

0

精彩评论

暂无评论...
验证码 换一张
取 消