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 8411459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:25:41+00:00 2026-06-10T00:25:41+00:00

I understand the various dpi resources and flexible layouts to support different resolution and

  • 0

I understand the various dpi resources and flexible layouts to support different resolution and sized screens, but I don’t understand how to handle different screens using bitmap drawing directly within a view’s onDraw() method.

I have an app that draws moving bitmaps to be touched. It has been developed thus far on a 480×320 screen and the test graphics have been created at this resolution. To support alternative screens such as an emulated WVGA, I have successfully placed higher resolution images in the hdpi folder and it works.

However, when I create a larger screen like a 10″ tablet, the graphics are drawn to a small phone-sized region.

What’s the correct way to provide higher resolution source images for a larger screen as opopsed to a higher density resolution? Do I have to manually load and scale the bitmaps?

  • 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-06-10T00:25:42+00:00Added an answer on June 10, 2026 at 12:25 am

    The reason you get small images on a 10″ device is that it most likely is an mdpi device. In addition it is probably a “xlarge” device.

    Therefore, try putting the graphics for such devices in a folder called

    drawable-xlarge-mdpi
    

    See this for reference:
    http://developer.android.com/guide/practices/screens_support.html

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

Sidebar

Related Questions

I understand that we can set the various style attributes from code behind using
I'm trying to understand what the different output is for the various .NET Network
I don't understand that syntax. Trying to google various words plus ... is useless.
As we know Android coming with various device which having different Features, Resolution, and
I'm struggling to understand how Rails 3.2 applies layouts when using mountable engines. Scenario:
I read various stuff on this and understand the principle and concepts involved, however,
I've read various reference sites on redirection, and to be honest I understand very
I understand this is an easy question but for some reason this just isn't
I understand what weak tables are. But I'd like to know where weak tables
I understand that calling Thread.Abort() is BAD AND WRONG because of various reasons Can

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.