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

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

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

8条回答
  •  失恋的感觉
    2020-12-08 07:08

    At this version you can't, if you make a sub folder within your drawable folder you can't use it in your xml file, it won't be recognized when you use android:src.

    Take a look at this thread: Can the Android drawable directory contain subdirectories?

提交回复
热议问题