使用方法:
Java
int icon = android.R.drawable.arrow_down_float;
Resources res = getResources();
myMenuItem.setIcon(res.getDrawable(android.R.drawable.arrow_down_float));
XML
android:icon="@android:drawable/arrow_down_float"
使用方法:
Java
int icon = android.R.drawable.arrow_down_float;
Resources res = getResources();
myMenuItem.setIcon(res.getDrawable(android.R.drawable.arrow_down_float));
XML
android:icon="@android:drawable/arrow_down_float"