Skip to content

Drawables

raeleus edited this page Mar 19, 2019 · 10 revisions

Drawables are the core of widget styles. These are usually basic PNG images, however they can be nine-patches, tinted/tiled variants, or completely generated from code. The Drawables dialog manages all of these.

Importing PNG Files

Existing images and nine-patches can be imported directly into the editor. To create nine-patches, see the guide on the Nine-Patch Editor.

  • Go to Project >> Drawables
  • Click Add
  • Select an image file or nine-patch file

The drawable will be listed in the catalog. Alternatively, you can drag and drop images from the OS directly into the Drawables window.

Working with the Catalog

The catalog lists all of the drawables for the current skin. This list can be sorted to make finding specific drawables easier. Click the Sort select box to sort by alphabetical, reverse alphabetical, oldest modified date, or newest modified date.

Another way to find a specific drawable is to enable a filter. Click the filter button on the top left. You can disable specific types of drawables or use a name search. Use a regular expression for even more precise control

Clone this wiki locally