I've been testing my app on an emulator running 2.2 and the ic_dialog_generic icon on the context menus and alert dialogs appear but when I switch to 2.3, they don't show u开发者_如何学Gop. The ic_dialog_info and ic_dialog_alert icons do though.
How do I handle this so that they show up on all versions? I'm using android.R.drawable.ic_dialog_xxxx to access them.
You could try copying the icons from yoursdk/platforms/android-x/data/res/drawable to the res file in your app.
精彩评论