2

I have a background drawable and I want to stretch it horizontally to the screen width and maintain its aspect ratio, but I want to crop it vertically since it will go out of the bottom of the screen.

I can't use an ImageView for some reason and have to use a BitmapDrawable, any help?

Thanks in advance.

Green Ho
  • 881
  • 3
  • 14
  • 27

0 Answers0