Showing posts from February, 2012

Application icon tutorial for Android

Assigning an icon to your Android application just takes a minute.  Actually creating the icon may take a bit longer.

Create a 48×48 PNG and drop it into /res/drawable.  The name of this file is usually “icon.png”.Open your AndroidManifest.xml.Right under the root “manifest” node of the XML, you should see the “application” node.  Add this attribute to “application”. (The “icon” in “@drawable/icon” refers to the file name of the icon.)android:icon="@drawable/icon"

Your app is now iconned. To support multiple resolutions, you can create icons of different resolutions and place them in the correct folders. Low density res/drawable-ldpi36×36 resolutionMedium density res/drawable-mdpi48×48 resolutionHigh density res/drawable-hdpi72×72 resolutionExtra high densityres/drawable-xhdpi96×96 resolution

Animation In Android

This example explains how we can create transition effect to animate our photo gallery or screen.