开发者

Using file aliases inside an Android APK?

Is it possible to us file aliases within an Android APK?

For example, I have the same file that I wish to reference using R.drawable.icon_name, and I am using the same icon for hdpi, ldpi, and mdpi. Is it pos开发者_运维百科sible to use file aliases/ symlinks to have the icon in /res/hdpi/ and create aliases in /res/mdpi/ and /res/ldpi/ pointing to that file, or is there a better approach altogether?


Is it possible to use file aliases/ symlinks to have the icon in /res/hdpi/ and create aliases in /res/mdpi/ and /res/ldpi/ pointing to that file

There are alias resources that you can use.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜