Android How to display 1 out of 54 card images in a ImageView
<p>I'm trying to figure out the best way to display 1 of 54 bitmaps in a <code>ImageView</code> .  I figured I could load in a bitmap from the assets.  But I can't figure out how to size it.  When it loads it from the <code>XML</code> file, it chooses 1 of 3 different bitmaps, each a different size. </p>

<p>I can't figure out how to determine what size bitmap to use.  I know how to get the width and height of a View, but not the whole screen.  Is there a way to get the screen resolution?</p>

<p>All so I know how to set the bitmap property of a <code>ImageView</code>, but I could not find anything for scaling.  Is there a way to scale it, or will I need a separate bitmap for different screen sizes?</p>

<p>This seems like it should be simple, but turning into something very complicated,</p>

<p>Is there a way to get the screen resolution?
Can I scale the bitmap a <code>ImageView</code> displays?
Is there a more easy way to do this?</p>
