?
Solved

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

Posted on 2014-11-30
1
Medium Priority
?
141 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 1500 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
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…

762 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