Solved

How images can support different screen and density of android devices?

Posted on 2014-11-30
1
131 Views
Last Modified: 2015-04-15
I have added the Icons and Images to the respective folder (drawable-mdpi,drawable-hdpi,drawable-xhdpi,drawable-xxhdpi) in the andriod project by following the guide line given in the android development documents.But the the images are not rendering as per the expectation.
below are the sizes which I am using for different android screens.
drawable-mdpi  25 x25
drawable-hdpi  38 x 38
drawable-xhdpi  51 x 51
drawable-xxhdpi 76 x76
0
Comment
Question by:itaakashcom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
KRUNAL TAILOR earned 500 total points
ID: 40473750
Hi  itaakashcom,

Please refer below link for icon size.
http://developer.android.com/design/style/iconography.html

Change your icon size as per link instruction.

drawable-mdpi  48x48 px
drawable-hdpi  72x72 px
drawable-xhdpi  96x96 px
drawable-xxhdpi 144 × 144 px

More ref: http://iconhandbook.co.uk/reference/chart/android/

Thanks & Regards,
Krunal T. Tailor
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently asked a question (http://www.experts-exchange.com/Programming/Smartphones/Android/Q_28684946.html) about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
Introduction Everyone is using a smartphone these days. Contacts, messages, applications, documents, bookmarks, pictures, videos and other stuff which you created and are present only on your device come under the umbrella called “Personal Data”.…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question