So I can see that you want to store a bunch of that image in an array called data
. I think the image you want to use is called ll.png
. But you used
R.drawable.ic_launcher
to refer to it. I don't know who would ever use "ic_launcher" to mean "ll". You should refer to that ll.png
like this:
R.drawable.ll
I mean that is the most logical thing to do, right?
当图像太大(kb大小)时,看不到ic_launcher之类的预览,但仍能正常工作。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.