Android: How to stretch an background drawable to the screen width while cropping it vertically and maintaining aspect ratio? -


i have background drawable , want stretch horizontally screen width , maintain aspect ratio, want crop vertically since go out of bottom of screen.

i can't use imageview reason , have use bitmapdrawable, help?

thanks in advance.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -