Android: Locating basic drawable
-
21-12-2019 - |
Question
How do you reference the drawable
for the 'home as up' icon?
I am trying to add this drawable
in a custom XML layout
. I do not want to change the icon displayed in the ActionBar
, but rather use the drawable
for something completely different
Tips on how to go about finding it without searching through every item are appreciated!
Solution
This image is named as ic_ab_back_holo_dark_am.png
or ic_ab_back_holo_light_am.png
These images are at sdk/platforms/version/data/res/drawable-versions
where version must be 11 or later.
like
sdk/platforms/android-19/data/res/drawable-hdpi
. You can find all images from there with there actual name.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow