I have a simple problem.
This is my XML
<LinearLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="45px" <!-- for testing only -->
android:orientation="horizontal" >
<ImageView
android:id="@+id/bed_bugs"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/button_tab"
android:src="@drawable/some_title" />
</LinearLayout>
And this is my Drawable button_tab
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<bitmap
android:tileMode="repeat"
android:src="@drawable/tile_test"/>
</item>
</layer-list>
tile_test
is a simple image
My question is, how can I scale the tiled image?
This is what I have -
This is what I need -