Fill drawable with pattern

Hi,

As Instinct 2/2S devices support only two colors to achieve a mid-tone (gray) one needs to fill the shape with a checker-board of white and black pixels. Any idea if there is a way to achieve that with some native API? I tried using setFill along with a 2x2px bitmap, but apparently setFill is supported only on a handful devices. I know I can just create my own code that does this, but I'm hoping I missed something and there is a native API which does this more efficient :) 

  • Use a custom font for the checker board, then draw it over what you want setting the foreground and background colors as needed.  It's the same basic logic used for AMOLED displays to reduce the number of pixels that are "on" and there are a few threads about that.