Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


android scale a drawable or background image


android scale a drawable or background image  using -'android'

On a layout I want to scale the background image (keeping its aspect ratio) to the space allocated when the page gets created. Anyone have any idea how to do this?

I am using layout.setBackgroundDrawable() and am using a BitmapDrawable to setGravity for clipping and filling, but don't see any option for scaling.
    

asked Sep 15, 2015 by SonPainter
0 votes
36 views



Related Hot Questions



Government Jobs Opening


...