Re: [android-developers] Re: dithering gradient on different devices

2010-07-26 Thread Martin Obreshkov
I also try to setDither(true) from java on G1 and the background was not dithered i could only get dithering by setting getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER); On Fri, Jul 23, 2010 at 4:02 PM, Martin Obreshkov wrote: > Thanks for the reply :). But when i create grad_proxy.xm

Re: [android-developers] Re: dithering gradient on different devices

2010-07-23 Thread Martin Obreshkov
Thanks for the reply :). But when i create grad_proxy.xml like this and use it as android:background nothing is shown android can't load grad_proxy and shows default background. On Fri, Jul 23, 2010 at 3:33 PM, Joseph Earl wrote: > I generally use a 'proxy' XML drawable to add dithering. > Suppos

[android-developers] Re: dithering gradient on different devices

2010-07-23 Thread Joseph Earl
I generally use a 'proxy' XML drawable to add dithering. Suppose your drawable above was named grad.xml, I'd then create something like: http://schemas.android.com/apk/res/android"; android:src="@drawable/grad" android:dither="true" /> and name it grad_proxy.xml. Then use @drawable/grad_