josedlujan
josedlujan

Reputation: 5600

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
enter image description here

This is how looks in android studio, enter image description here

Upvotes: 0

Views: 245

Answers (2)

josedlujan
josedlujan

Reputation: 5600

When your image is too big(kb size) you cant see a preview like ic_launcher,but still working normally.

Upvotes: 1

Sweeper
Sweeper

Reputation: 271135

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?

Upvotes: 1

Related Questions