I just updated from android 2.1 to 3.0 and found many default 开发者_Go百科andorid resources missing, such as:
android:icon="@android:drawable/ic_menu_preferences"
android:icon="@android:drawable/ic_menu_help"
What happened to then and any idea how to fix them?
They do not exist anymore, most likely. The Android folks advise against using their resources because of changes in the API -- now you know why :) I would keep a local copy from previous releases so that you can access them, were I you. (something they also suggest)
Use:
android:icon="@android:drawable/android:ic_menu_help"
精彩评论