Is it possible to load a drawable from the assets folder?

后端 未结 8 1678
刺人心
刺人心 2020-12-08 06:43

Can you load a drawable from a sub directory in the assets (not the drawable folder) folder?

8条回答
  •  旧时难觅i
    2020-12-08 07:15

    Yes you can create a Drawable object from an InputStream using the createFromStream() method.

提交回复
热议问题