Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Android Wear Application Development

You're reading from  Mastering Android Wear Application Development

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781785881725
Pages 224 pages
Edition 1st Edition
Languages
Authors (2):
Siddique Hameed Siddique Hameed
Profile icon Siddique Hameed
Javeed Chida Javeed Chida
Profile icon Javeed Chida
View More author details

Table of Contents (18) Chapters

Mastering Android Wear Application Development
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
1. Introduction to Wearable Computing 2. Setting up the Development Environment 3. Developing Android Wear Applications 4. Developing Watch UI 5. Synchronizing Data 6. Contextual Notifications 7. Voice Interactions, Sensors, and Tracking 8. Creating Custom UI 9. Material Design 10. Watch Faces 11. Advanced Features and Concepts 12. Publishing Apps to Google Play

App activities


The skeleton project consists of two activities, MainActivity and GridExampleActivity. The MainActivity activity contains a header text with Main Activity and three buttons inside ScrollView layout.

Let's take a look at the main_activity.xml file to see how the component layout is structured. One of the biggest advantages to developing Android applications using Android Studio is its layout editor. Although it may not be precisely the same during runtime, it can give a closer idea in terms of how the UI components are rendered during runtime.

After you have opened the main_activity.xml file, make sure you have the Preview tool window selected on the right side of Android Studio:

The Android Studio layout editor will display the live preview for changes to layout files. It also helps to get an understanding of how the components will be laid out for different form factors. As we know, Android Wear comes in square and circle-shaped form factors, so it will be a good idea to check...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}