I have a delete button that I would like to have as a trash can icon. Like the bottom of the main screen that appears when you hold the shortcut.
Can I reuse Android system icons, or do I need to draw my own?
Yes it is possible. Have a look at this page: http://androiddrawableexplorer.appspot.com/ a list of all the icons used. An example of use is shown at the top, but if you do this in the menu.xml file, use code similar to this
<item android:id="@+id/end" android:title="@string/end_label" android:alphabeticShortcut="@string/end_shortcut" android:icon = "@android:drawable/ic_menu_close_clear_cancel" />
Frrinkthebrae,
In XML, you can access many software drawings through the program code android.R.drawable.<drawable here> or android: icon=@android :drawable/<drawable here> . This site contains a complete list of drawings, but some of them are private and therefore unsuitable for the user. If you use Eclipse, intellisense should pull out a list of available drawings when you type android.R.drawable .
android.R.drawable.<drawable here>
android: icon=@android :drawable/<drawable here>
android.R.drawable