Issue
I want to use my own resource (drawable) instead of this:
"android.resource://system/com.android.internal.R.drawable.ic_menu_recent_history"
To : android.resource://XXXX/R.drawable.ic_my_icon
Solution
Try android.resource://com.example.myapp/drawable/ic_my_icon
, bearing in mind that not everything in an Android device will support the android.resource
scheme.
See the documentation for openAssetFileDescriptor()
for more about this scheme.
Answered By - CommonsWare
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.