Building Android UIs with Custom Views

Create engaging user experiences and awesome user interfaces using this guide
Preview in Mapt

Building Android UIs with Custom Views

Raimon Ràfols Montané

1 customer reviews
Create engaging user experiences and awesome user interfaces using this guide
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.00
RRP $35.99
Save 49%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Building Android UIs with Custom Views Book Cover
Building Android UIs with Custom Views
$ 35.99
$ 18.00
Hands-On Android UI Development Book Cover
Hands-On Android UI Development
$ 31.99
$ 16.00
Buy 2 for $33.50
Save $34.48
Add to Cart

Book Details

ISBN 139781785882869
Paperback294 pages

Book Description

To build great user interfaces for your Android apps that go beyond the standard UI elements, you need to use custom Android views. With these, you can give your app a distinctive look and ensure that it functions properly across multiple devices.

This book will help you construct a great UI for your apps by teaching you how to create custom Android views. You will start by creating your first Android custom view and go through the design considerations. You will then see how the right choices will enable your custom view to perform seamlessly across multiple platforms and Android versions.

You will create custom styleable attributes that work with Android XML layouts, learn to process touch events, define custom attributes, and add properties and events to them.

By the end of this book, you will be able to create apps with custom views that are responsive and adaptable to make your app distinctive and an instant hit with its users.

Table of Contents

Chapter 1: Getting Started
What's a custom view
Setting up the environment
Creating our own first custom view
Summary
Chapter 2: Implementing Your First Custom View
Measuring and parameterizing our custom view
Instantiating custom views
Creating a custom layout
Basic rendering
Summary
Chapter 3: Handling Events
Basic event handling
Advanced event handling
Summary
Chapter 4: Advanced 2D Rendering
Drawing operations
Summary
Chapter 5: Introducing 3D Custom Views
Introduction to OpenGL ES
Drawing geometry
Summary
Chapter 6: Animations
Custom-made animations
Using Android SDK Classes
Summary
Chapter 7: Performance Considerations
Performance impact and recommendations
Summary
Chapter 8: Sharing Our Custom View
Best practices for sharing our custom view
Publishing our custom view
Summary
Chapter 9: Implementing Your Own EPG
Building an EPG
Configurations and Extensions
Summary
Chapter 10: Building a Charts Component
Building a basic chart custom view
Adding advanced features
Summary
Chapter 11: Creating a 3D Spinning Wheel Menu
Creating an interactive 3D custom view
Beyond the basic implementation
Summary

What You Will Learn

  • Extend the standard UI widget framework by creating Custom views
  • Add complex rendering, animations, and interactions to your views
  • Optimize performance and decrease battery usage
  • Implement custom views to share between multiple projects, or share it publicly
  • Create 3D custom views using OpenGL ES

Authors

Table of Contents

Chapter 1: Getting Started
What's a custom view
Setting up the environment
Creating our own first custom view
Summary
Chapter 2: Implementing Your First Custom View
Measuring and parameterizing our custom view
Instantiating custom views
Creating a custom layout
Basic rendering
Summary
Chapter 3: Handling Events
Basic event handling
Advanced event handling
Summary
Chapter 4: Advanced 2D Rendering
Drawing operations
Summary
Chapter 5: Introducing 3D Custom Views
Introduction to OpenGL ES
Drawing geometry
Summary
Chapter 6: Animations
Custom-made animations
Using Android SDK Classes
Summary
Chapter 7: Performance Considerations
Performance impact and recommendations
Summary
Chapter 8: Sharing Our Custom View
Best practices for sharing our custom view
Publishing our custom view
Summary
Chapter 9: Implementing Your Own EPG
Building an EPG
Configurations and Extensions
Summary
Chapter 10: Building a Charts Component
Building a basic chart custom view
Adding advanced features
Summary
Chapter 11: Creating a 3D Spinning Wheel Menu
Creating an interactive 3D custom view
Beyond the basic implementation
Summary

Book Details

ISBN 139781785882869
Paperback294 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Hands-On Android UI Development Book Cover
Hands-On Android UI Development
$ 31.99
$ 16.00
Expert Android Programming Book Cover
Expert Android Programming
$ 35.99
$ 18.00
Mastering Android Development with Kotlin Book Cover
Mastering Android Development with Kotlin
$ 35.99
$ 18.00
Mastering Android Studio 3 Book Cover
Mastering Android Studio 3
$ 35.99
$ 18.00
Reactive Android Programming Book Cover
Reactive Android Programming
$ 31.99
$ 16.00
Android: Programming for Developers Book Cover
Android: Programming for Developers
$ 71.99
$ 36.00