简体   繁体   中英

Why Can not see the preview of this image in android studio?

I dont know why I can not use this image.

The image is a 200x200px .png file
在此处输入图片说明

This is how looks in android studio, 在此处输入图片说明

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM