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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -