Android TileMode X OR Y only?
<p>In my Activity's layout a have a background, which should be repeated by Y. There is no problem with repeating the background, when it is repeated on X and Y (just add <code>android:tileMode="repeat"</code>). Also, there is no problem with doing this above Android API 15:</p>

<p><code>RelativeLayout layout = (RelativeLayout) findViewById(R.id.container_layout);</code></p>

<p><code>BitmapDrawable bg = (BitmapDrawable)getResources().getDrawable(R.drawable.my_repeating_bg);</code>
        <code>bg.setTileModeX(TileMode.REPEAT);</code>
         <code>layout.setBackground(bg);</code>
But the method <code>setBackground(&lt;BitmapDrawable&gt;)</code> is not available on Android API &lt; 16.
What should I do when I want to repeat my background only by X or by Y in Android 2.3?
Thanks.
P.S. The background's width and height are both <code>MATCH_PARENT</code>.</p>
