Android: how to have a centered background image in a view

Posted by tacone on Stack Overflow See other posts from Stack Overflow or by tacone
Published on 2010-06-12T21:40:46Z Indexed on 2010/06/12 21:42 UTC
Read the original article Hit count: 209

Filed under:
|
|

I'd like to use a small (icon size) image as the background for my view, but it gets stretched to fill all the view.

Any solution (including some way to place a view under my current one and make the latter transparent) will be appreciated.

Thanks !

© Stack Overflow or respective owner

Related posts about android

Related posts about views