I have a image used for a LinearLayout background
Let’s say image has 20×100 px
I want to make the image repeat only on x axes … something like this in css
background-repeat:repeat-x;
The LinearLayout is kinda big (1024 x 680 px) so my image will cover the entire width but only in the top (the rest of 580 px of height will be transparent)
I hope i was clear
Thanks
You can use the android:background as a 9patch image to automatically stretch.
9patch on Android Dev site