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
Solved

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

Posted on 2014-11-30
1
128 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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

First off, some of you reading this are already thinking there is an error in the title. It really should be Kindle Fire versus OTHER Android tablets. That's because the Amazon Kindle Fire IS an Android tablet. Well, it is and it's not. It's running…
A short article about a problem I had getting the GPS LocationListener working.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
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…

840 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