Monday, 4 October 2010

Android: Native icons how to use

 In your android phone are many beautiful icons.Here is the list: and here is more

To use: 
  • in recourses  android:icon="@android:drawable/<name of your element>"
  • in java code android.R.drawable.<name of your element>
But be aware:

Warning: Because these resources can change between platform versions, you should not reference these icons using the Android platform resource IDs (i.e. menu icons under android.R.drawable).

Rather, you are adviced to make a local copy

No comments:

Post a Comment