Skip to content Skip to sidebar Skip to footer

How Do You Scale And Tile A Bitmap Drawable Being Used As A Background?

I have the following code in a drawable bitmap xml file. And the background of a linearLayout set to it.

These scale attributes are not defined for BitmapDrawables. They exist for ScaleDrawables which are meant to scale another drawable. Have a look at:

http://developer.android.com/guide/topics/resources/drawable-resource.html#Scale

Post a Comment for "How Do You Scale And Tile A Bitmap Drawable Being Used As A Background?"