Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Overview of this book

Table of Contents (15 chapters)
LiveCode Mobile Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Making OS-styled buttons


It's nice that LiveCode can call upon an OS's native controls, but this raises a problem because the standard Motif-styled buttons will look ugly when used with the OS buttons. We can fix this either using built-in features of LiveCode or with the use of an add-on product.

Using bitmaps

As we saw in Chapter 1, LiveCode Fundamentals, you can use different bitmaps for the button's states. You could get such images by taking screenshots of the buttons on your mobile device, at least with the iOS and Android OS v4 and later versions, or you can save a lot of time by downloading files that others have made available. Some of these files are only licensed for use in prototypes; here, we'll take a look at one of the files that is also licensed to be used in commercial products.