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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:28:49+00:00 2026-05-27T18:28:49+00:00

I am getting some very interesting results when testing an app developed with MonoDroid

  • 0

I am getting some very interesting results when testing an app developed with MonoDroid on different devices with varying screen sizes and densities.

I have the following (simplified) folder structure set up in my project:

  • drawable
    • image.png
  • drawable-ldpi
    • image.png
  • drawable-mdpi
    • image.png
  • drawable-hdpi
    • image.png
  • drawable-xhdpi
    • image.png

The image in drawable is that of a folder. The images in the other folders are identical except for the size and a letter that is drawn on top to indicate which density it is from (e.g. L, M, H, or X) depending on the folder.

Regardless of the device’s screen density (verified using Android.Util.DisplayMetrics) the images displayed for the app are being pulled from the drawable-mdpi folder.

I created a quick test app in Eclipse that used the same xml layout file and the same set of images. Launching that app on my various devices displays the correct image.

I’m at a complete loss and this has now cost me the better part of 2 days diagnosing and finally detecting the cause of the problem.

Has anyone been able to overcome this problem? Thanks in advance!

  • 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-27T18:28:50+00:00Added an answer on May 27, 2026 at 6:28 pm

    After chatting with Xamarin support it turns out that the problem was related to an incorrect AndroidManifest.xml file…

    It didn’t have the <uses-sdk> tag set correctly…

    Changing it from

     <uses-sdk /> <!-- Why in the world this is the default I'll never know! -->
    

    to this

     <uses-sdk android:minSdkVersion="8" targetSdkVersion="8"/>
    

    completely solved the problem.

    Hope others find this useful!

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

Sidebar

Related Questions

I have been getting some massive head aches working on a very dynamic app.
I'm getting some confusing results around myCustom.ashx handler. If i visit the handler via
I'm getting some very slow performance from an Umbraco site hosted on my Azure
I'm getting some very strange date formatting issues in my Silverlight application. My local
I'm getting some very strange behaviour with tinyMCE in an ASP.NET MVC 2 beta
I have a very interesting problem on my LinqToSql model. On some of my
I'm getting some very strange behaviour with HttpWebRequest I hope someone can help me
I'm getting some very odd behavior and I can't figure it out. I've modified
I'm getting some very unexpected (I think) behavior with the Typed Factory facility. Basically,
I am getting some very annoying behaviour from my perl cgi scripts running under

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.