0

Why I cannot insert the image by using this method? Does it has another way so that ca can be inserted to mipmap?

enter image description here

Tony
  • 2,515
  • 14
  • 38
  • 71

1 Answers1

1

You can't beacuse you are in 'Android' view type. Change to 'Project' view in top-left selector. Actually, ic_drawer.png is not a directory, but a set of 4 directories. One per image dimension.

enter image description here

You should put your images in drawables. Mipmap is only recommended for icons.

Héctor
  • 24,444
  • 35
  • 132
  • 243
  • I want to use imageButton...where should I put the image? – Tony Nov 02 '15 at 08:00
  • @seng tony Put image in drawables not in Mipmap folder. Android recommends AppIcon to be put in MipMap folder – silwar Nov 02 '15 at 08:02
  • @silwar but before this, I insert picture for the navigation drawer, it works – Tony Nov 02 '15 at 08:04
  • Please check [this SO](http://stackoverflow.com/questions/23935810/mipmap-drawables-for-icons) post? this will provide you better idea about mipmap – silwar Nov 02 '15 at 08:07