Solved

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

Posted on 2014-11-30
1
120 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Godaddy Root Certificate 2 79
SMG920P extend battery life 5 58
Xamarin 10 45
Pictures cut off when texting 13 102
I tend toward trying the newest hardware and software.  Thiss sometimes works out to my benefit, and sometimes not.  Because I downloaded and installed Android 5.x (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.htm…
A short article about a problem I had getting the GPS LocationListener working.
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now