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);
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
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
3 matches
Mail list logo