On Twitter @ZacH0lland asked for some button resources he could use in one of his apps. I thought it might be a good idea to share these buttons with all of you. The buttons are made with Adobe Fireworks. The download also contains a Corona SDK project, which serves as a short tutorial on how to use the button graphics in your iOS or Android app.
Notes On The Lua Code
When you make your own apps, please use the current version of the
ui.lua module. You can find this file on the Ansca Mobile website or in some sample apps which ship with Corona SDK.
Notes On the Fireworks Project
The Adobe Fireworks file
TheHardestButtonToButton.fw.png includes the four sample buttons. Each button has two states: normal and tapped.
You can export the png files from Adobe Fireworks with
File > Export > Layers to Files. The Fireworks file includes the retina graphics (640x960) only. If you need to support non-retina displays, you can use the
prepareImages.sh script to convert the graphics. For the script to work you need ImageMagick installed on your machine.
Use the graphics in your own projects, may these be commercial or non-commercial.
I would love to hear from you when you use the buttons in any way. So drop me a line in the comments or contact me via Twitter.