Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to select standard Android menu icons?

Tags:

android

I want to select the a standard Android menu icon based on the current Android version the phone is running.

Example icons:

enter image description here

Remember! I do not want drawables for this purpose, I do want the correct icon based on the devices API.

Is this possible?

like image 380
Curtain Avatar asked Dec 22 '22 16:12

Curtain


1 Answers

What's wrong with using drawables? Icons are drawables. If you use the R.android.drawable.* drawables, you'll get the appropriate image based on your phone (Sense, stock Android 2.0, stock Android 2.3, etc).

like image 127
EboMike Avatar answered Jan 08 '23 22:01

EboMike