Thanks Romain,

It's working now.
It's strange, as I though I had already tried that.
I think I just forgot about the xml namespace when I first tried.
By the way, I'm not sure I completely understand its use...

Thanks anyway,

Emmanuel
http://androidblogger.blogspot.com/

On Jan 29, 12:12 am, Romain Guy <romain...@google.com> wrote:
> <?xml version="1.0" encoding="utf-8"?>
> <bitmap xmlns:android="http://schemas.android.com/apk/res/android";
>     android:src="@drawable/shelf_panel"
>     android:tileMode="repeat" />
>
> You can also use clamp and mirror instead ofrepeat.
>
>
>
> On Wed, Jan 28, 2009 at 3:00 PM, Emmanuel <emmanuel.ast...@gmail.com> wrote:
>
> > Hi Romain,
>
> > Can you elaborate a little on how to do it on the Xml side ?
>
> > I succeeded to do it by code, on the java side ( Sebastien, it's on my
> > blog if you are interested ).
> > But I didn't found how to do it with the xml, and I feel it would be
> > cleaner this way.
>
> > thanks,
>
> > Emmanuel
> >http://androidblogger.blogspot.com/
>
> > On Jan 23, 4:46 am, Romain Guy <romain...@google.com> wrote:
> >> Use a BitmapDrawable and its tiling feature.
>
> >> On Thu, Jan 22, 2009 at 6:07 AM, galina.sebast...@gmail.com
>
> >> <galina.sebast...@gmail.com> wrote:
>
> >> > Hi all !
>
> >> > There is an repeatingbackgroundattribute like in css for layout on
> >> > Android API ?
>
> >> > Sorry for my english ... i'am a frenchy ...
>
> >> > Thx for your help !
>
> >> --
> >> Romain Guy
> >> Android framework engineer
> >> romain...@android.com
>
> >> Note: please don't send private questions to me, as I don't have time
> >> to provide private support.  All such questions should be posted on
> >> public forums, where I and others can see and answer them
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to