由网友(孤独陪葬我)分享简介:您可以从资产子目录加载绘制(不是绘制文件夹)的文件夹?Can you load a drawable from a sub directory in the assets (not the drawable folder) folder?推荐答案希望这有助于:Drawable d = Drawable.crea...
您可以从资产子目录加载绘制
(不是绘制文件夹)的文件夹?
Can you load a drawable from a sub directory in the assets
(not the drawable folder) folder?
推荐答案
希望这有助于:
Drawable d = Drawable.createFromStream(getAssets().open("Cloths/btn_no.png"), null);
相关推荐
最新文章