The standard resolutions defined by Android are:
The resulting document will be a multipage document with the following properties:
Tip: Always save the resulting document as a .gfie file somewhere, to preserve all information.
Tip: Start designing your drawable prototype in a very big size before choosing Icon|Create Android drawable from image. Keep in mind that lowering the resolution is always an option.
After you have created and edited the drawable, you can export it to the resources folder of your Android project. Choose File|Export Android drawable to do this.
The pages will be saved to the corresponding subfolder (drawable-ldpi, drawable-mdpi, etc.). The saved files will have the name [title].png, where [title] equals to the document title. The document title can be set in the document metadata dialog box (see File|Metadata).
Android buttons have nine-patch images as backgrounds. A nine-patch image is a regular image with an extra two-color border. This border encodes how the image will be scaled up. Black pixels of the border mark the expandable parts, while the remaining pixels mark the fixed parts of the image. See Samples/ninepatch.gfie for an example 9-patch image.
You can draw a 9-patch button as a normal image in GFIE, by drawing the image and adding a 1-pixel wide frame of the above format. Then choose Icon|Test and select the 9-Patch tab to view multiple buttons at randomly generated positions.