I figured this out.

Use RelativeLayout and you can overlay views. This makes it possible
to use an ImageView to create a nonscaling backgroud.

Hope this helps someone out there!

On Sep 23, 9:57 pm, WoodManEXP <[email protected]> wrote:
> Does anyone know how to set a View background drawable that clips the
> image rather than scaling it (sort of like using a ImageView with wrap-
> content instead of fill_parent).
>
> I’d like to set background drawable and not have it distorted (looks
> especially bad when going to landscape orientation).
>
> Is there a way to do this?
>
> Alternatively, is there a way to set an ImageView as a View’s
> background and overlay the other views on it?
>
> Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to