Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems while importing an image asset

I'm trying to import a PNG image asset to my project. But the image is losing details. It's just retaining the outer background. The image is transformed to a solid asset:

enter image description here

As you can see, the source asset has a white-tick in the center. But, after importing, it just remains as a solid circle with no ticks. Any solutions?

UPDATE: Tried Android asset studio, but with the same result. What am I missing?:

enter image description here

like image 578
Akeshwar Jha Avatar asked Apr 17 '16 19:04

Akeshwar Jha


1 Answers

Thanks to Shafayat Mamun, a workaround is figured out. Here's what I did:

  1. Go to Android Asset Studio
  2. Select Generic Icons (it didn't work for any other option)
  3. Upload the image, pick your color and drag down the color scale to 0% using the scale.
  4. Download the zip and extract to the main folder of the project.

PS: This, though helped me solve my query, but the question remains intact. Why is android studio not capturing the image details while importing? Same is the case while I select Action bar and tab icons in the Android Asset Studio.

like image 160
Akeshwar Jha Avatar answered Nov 12 '22 12:11

Akeshwar Jha