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
Post a Comment