วันจันทร์ที่ 25 ตุลาคม พ.ศ. 2553

Android application icon tutorial


Assigning an icon to your Android application just takes a minute.  Actually creating the icon may take a bit longer. :P
  1. Create a 48×48 PNG and drop it into /res/drawable.  The name of this file is usually “icon.png”.
  2. Open your AndroidManifest.xml.
  3. 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.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น