Android R.drawable icon to reduce zoom
In the Android list of R.drawables
(http://developer.android.com/refer开发者_开发知识库ence/android/R.drawable.html) I can find the ic_menu_zoom
button, which have a little plus sign inside.
Does anyone know about a similar menu button, but with a minus sign? I can't seem to find anything in the reference.
Thanks.
You are looking for the wrong kind of icon. It clearly says that it is a menu icon ic_menu_zoom
.
What you are really looking for is the btn_plus_
and btn_minus_
icons. Note that I've omitted the states. You'd actually want all button states to combine them into a StateListDrawable
.
Alternatively you can take a look at the btn_zoom_
icons.
Maybe try btn_minus_default
and btn_plus_default
.
Edit:
Or check out this link.
精彩评论