Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6997035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:13:58+00:00 2026-05-27T20:13:58+00:00

I’m trying to design some images and button images for an Android app. But

  • 0

I’m trying to design some images and button images for an Android app. But there are so many screen sizes and DPI settings.

Can someone explain me what are screen sizes and DP means? and a simple way to design images to fit all devices (if possible)

Thanks

Sample 9-patch images i did.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:13:59+00:00Added an answer on May 27, 2026 at 8:13 pm

    Yes i would suggest you to go through below article first, you will come to know everything about Screen resolutions and dp.

    Supporting Multiple Screens

    And now here is a best explanation about Icon Design Guidelines.

    DP means density independent pixel, which is more preferable to depict measurement (As compared to PX) for any views.

    From above document:

    • A set of four generalized sizes: small, normal, large, and xlarge
    • A set of four generalized densities: ldpi (low), mdpi (medium), hdpi (high), and xhdpi (extra high)

    One more thing to keep in mind:

    To create alternative bitmap drawables for different densities, you should follow the 3:4:6:8 scaling ratio between the four generalized densities. For example, if you have a bitmap drawable that’s 48×48 pixels for medium-density screen (the size for a launcher icon), all the different sizes should be:

    36x36 for low-density
    48x48 for medium-density
    72x72 for high-density
    96x96 for extra high-density
    

    Button images: OR 9-patch images

    To create background and selector images for button, i would suggest you to create 9-patch image, you can create 9-patch image using 9-patch tool. If you create 9-patch image then it will grow and shrink according to the height/width of any view and its doesn’t looks ugly.

    Example of 9-patch images are:

    enter image description here
    enter image description here
    enter image description here

    Nice Collections of 9-patch images: http://android9patch.blogspot.com/2011/10/android-9-patch-pack-22-more-buttons.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.