Solved

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

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android Tablet Reader Request 2 85
Droid Exchange Corporate Contacts not synchronizing correctly 7 108
Group texting 7 70
wondershare 17 60
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…
This is an explanation of a simple data model to help parse a JSON feed
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…

773 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