hi, only repeat vertically,u can use BitmapDrawable.setTileModeX(int TileMode);
2009/8/19 Klaus Kartou <[email protected]> > Hi! > Is there a way to specify that a drawable should only be repeated > vertically and then stretched horizontally? > At the momemt I use the following which repeates the drawable both in the > vertical and horizontal direction: > > <?xml version="1.0" encoding="utf-8"?> > <bitmap xmlns:android="http://schemas.android.com/apk/res/android" > android:src="@drawable/wallpaper" > android:tileMode="repeat" > > > </bitmap> > > > Best regards, > Klaus > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

