Re: [android-developers] bug in bitmap tileMode=repeat / within layer-list ?

2011-02-18 Thread Marco Alexander Schmitz
Hi Rich, thanks a lot for this. works like a char, :) in my case in the list adapter after the layout-inflating i have to call: LayerDrawable ld = (LayerDrawable)view.getBackground(); BitmapDrawable bd = (BitmapDrawable)ld.getDrawable(0);

[android-developers] bug in bitmap tileMode=repeat / within layer-list ?

2011-02-15 Thread Marco Alexander Schmitz
hello :) I've got a ListView and items with their own xml. these items do have a xml background. this xml background is a layer-list with 4 items, one of them is a bitmap tileMode=repeat /. the others are just an alpha-gradient and a blue rectangle painted on top. sometimes my tile-bitmap

Re: [android-developers] bug in bitmap tileMode=repeat / within layer-list ?

2011-02-15 Thread Richard Leggett
I've also experienced tileMode on drawables being ignored (1.6 SDK), generally when extending the existing height of a ViewGroup by adding children after the initial layout pass. It doesn't always exhibit the behaviour. I didn't have time to fully investigate the problem at the SDK code level