1

I have looking on a few decompiled app and don't understand how to locate image in resources by uri. For example, I have uri:

android:icon="@drawable/icon"

So what I need to do? Open res folder and look in each folder beginning from drawable to find icon.png? Thanks

Ivan
  • 361
  • 3
  • 16
  • i think you are looking for this http://stackoverflow.com/questions/6602417/get-the-uri-of-an-image-stored-in-drawable – Nowshad Apr 27 '16 at 08:07

2 Answers2

1

Yes, you look in the res/drawable folder with a file name matching exactly the text following @drawable/. In this case icon.

The extension could be any image format - jpg, png, bmp etc.

Viral Patel
  • 32,418
  • 18
  • 82
  • 110
0

You have to just press ctrl button along with just do left click from the mouse on the android:icon="@drawable/icon" and then android studio will identify it for you. or manually you can follow the steps suggested by @AndroidMechanic

Saurabh Vardani
  • 1,821
  • 2
  • 18
  • 33