' Cancel f^l Preview

— Distribution — 0 Uniform Q Gaussian

M Monochromatic

• Apply 9-patch techniques to shrink the graphic and set the padding of the content area. (See the detailed guide here.)

Note: The current Android widget templates were designed using a custom gradient angle, which means the 9-patch techniques can't be used to optimize the size of the asset. However, 9-patch techniques were used to set the content area padding.

• In some cases, devices have low pixel depths that can cause visual banding and dithering issues. To solve this, application developers should pass assets through a "proxy" drawable defined asXML: . This technique references the original artwork, in this case "background.9.png", and instructs the device to dither it as needed.

Widget graphics file format

Save your widget artwork using the appropriate bounding box size in PNG-24 format on a transparent background and in 8-bit color.

Was this article helpful?

0 0

Post a comment