Ok guys I\'m little stacked here. According to official documentation Google says that \"Once you\'ve defined your Drawable in XML, save the file in the res/drawable/ direct
Why cant you use BitmapDrawable heres a sample code:
android:background="@drawable/drawable_resource" and it will be tiled.Example:
Heres a complete template of Bitmap Drawable, you can choose attribute values accourding to your need.
You can find documentation of the same here look for XML Bitmap.