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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:31:30+00:00 2026-05-27T23:31:30+00:00

Good morning. I have an image that is large as all display width. I

  • 0

Good morning. I have an image that is large as all display width. I want that this image is resized for all screen dimension and density. I have put into directory drawable-ldpi,mdpi,hdpi and xhdpi the image in various dimension, but for same display, such as the Galaxy Note or the Galay Nexus, the image don’t take all screen width ! Why ? How can I do ?

Thanks

  • 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-27T23:31:30+00:00Added an answer on May 27, 2026 at 11:31 pm

    // use

    android:scaleType="fitXY"
    
    normal hdpi is 480x 800 ~240dpi
    

    but your

    samsung note is 800 x 1280 pixels, 5.3 inches (~285 ppi pixel density)
    galaxy nexus is 720 x 1280 pixels, 4.65 inches (~316 ppi pixel density)
    

    or get the screen density using Displaymetrics and supply various image for different density.

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

Sidebar

Related Questions

Good morning all, I'm sure this is a gimme, but I have no idea
Good morning all. I have an issue with a query. I want to select
Good Morning All, I have inherited an ASP.net website that was originally started back
Good Morning All, I have an Objective C question that is coming from JavaScript.
Good morning. I have been looking all over trying to answer this question. If
Good morning gang. I have a jQuery Datepicker object that is prepoulated using a
Good Morning, i have some Trouble with the Zend Framework and Zend_DB_Select, i want
Good Morning, I have created an ASP.NET 3.5 webform that allows users to search
Good morning. I've been having this issue for some days and have been lokking
Good Morning All, I am creating an application to display List of applications with

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.