Android Icon Sizes and Application Configuration With Android Manifest
3
Android projects: icon sizes and application configuration with AndroidManifest.xml March 29, 2011 byMisaFiled under:Android,Android (Java),Java,Mobile phoneAn iPhone programmer’s question: I have to design an app for both i Phone and Android platforms. Where’s the info.plist file and what icons and launch images do I have to include in an Android apps? What are the image sizes? I can’t find de finitions. Thank you. Answer: Android (Google) provides great documentations. See the links below. The info.plist-like ap plication configuration can be set in the AndroidManifest.xml file. Like info.plist in iPhone projects, the manifest fi le presents essential information about the app the OS must read before it can run any of your application’s code. For details visit this site.The Android platform makes it easy to provide icons in such a way that they will be displayed properly on any device, but you should create separate icon sets for low-, medium-, and high-density screens. Corresponding assets for different densities must use the same filenames. Icons we use f or Android 2.0 and later: NameSize (pixels)Platformmarketplace_artwork.png 512 x 512Hires application icon for Android Market.ic_app.png72 x 72Application icon for high-density screens. Place into the res/drawable-hdpi folder. Full size=72×72 pixels, but you should size the content area smaller than the actual bounds to create a consistent visual weight and to allow for shadows. Within this image icon content area: 60×60, so-called Square icon content area: 56×56. The recommendedcolor palette is available here.ic_app.png48 x 48Application icon for medium-density screens in res/drawable-mdpi folder. Within this image -> Icon area: 40×40, Square icon area: 38×38ic_app.png36 x 36Application icon for low-density screens in res/drawable-ldpi folder. Within this image -> Icon area: 30×30, Square icon area: 28×28ic_menu.png 72 x 72Menu icons for high-density screens. Copy into the res/drawable-hdpi folder. Transparent menu icons are placed in the options menu shown to users when they press the Menu button. They are drawn in greyscale. For details visit Android site.ic_menu.png 48 x 48Menu icon for medium-density screens in res/drawable-mdpi folder. ic_menu.png 36 x 36Menu icon for low-density screens in res/drawable-ldpi folder. ic_statusbar.png 24 (w) x 38 (h)Transparent status bar icons for high-density screens. Place into the res/drawable- hdpi-v9 folder. Content area: 24×24. Older version’s status bar icons should be placed respectively into drawable-hdpi, drawable-mdpi, drawable-ldpi folders. For details visit Android site.ic_statusbar.png 16 (w) x 25 (h)Transparent status bar icons for medium-density screens in res/drawable-mdpi-v9 folder. Content area: 16×16.ic_statusbar.png 12 (w) x 19 (h)Transparent status bar icons for low-density screens in res/drawable-ldpi-v9 folder. Content area: 12×12.ic_tab_xxxx.png 48 x 48Tab icons are graphical elements used to represent individual tabs in a multi-tab interface. Each tab icon has two states: unselected and selected. xxxx is the actual name for the given tab item. For example: ic_tab_login_selected.png, ic_tab_login_unselected.png . Place them into the res/drawable-hdpi-v5 folder. Content area: 42×42.ic_tab_xxxx.png 32 x 32Transparent tab icons for medium-density screens in res/drawable-mdpi-v5 folder. Content area: 28×28.ic_tab_xxxx.png 24 x 24Transparent tab icons for low-density screens in res/drawable-ldpi-v5 folder. Content area: 22×22.ic_dialogbox.png 48 x 48Transparent dialog icon is shown in pop-up dialog boxes. Place them into the res/drawable-hdpi folder.ic_dialogbox.png 32 x 32Transparent dialog icon for medium-density screens in res/drawable-mdpi folder. ic_dialogbox.png 24 x 24Transparent dialog icon for low-density screens in res/drawable-ldpi folder.
Adding the Library Jar File and Importing" href="https://vdocuments.us/mpl-developer-guide-android-os-paypal-history-androidnameandroidpermissionreadphonestate.html">MPL Developer Guide - Android OS - PayPal · Revision History ... android:name="android.permission.READ_PHONE_STATE" /> Adding the Library Jar File and Importing