Building android UIs with custom views build amazing custom user interfaces with android custom views
Create engaging user experiences and awesome user interfaces using this guide About This Book Move beyond default UI templates, create and customize amazing UIs with Android Custom View Enable smooth data flow and create futuristic UIs by creating flexible custom views Scale your apps with responsiv...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai, [India] :
Packt
2017.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631105106719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- Acknowledgements
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Getting Started
- What's a custom view
- The need for custom views
- Examples on the market
- Setting up the environment
- Installing development tools
- How to set up an emulator
- How to set up a real device for developing
- Creating our own first custom view
- Extending a view
- Creating a simple view from scratch
- Summary
- Chapter 2: Implementing Your First Custom View
- Measuring and parameterizing our custom view
- Measuring our custom view
- Parameterizing our custom view
- Instantiating custom views
- Instantiating custom views from code
- Builder pattern
- Creating a custom layout
- Extending ViewGroup
- Basic rendering
- Creating the basic circular activity indicator
- Summary
- Chapter 3: Handling Events
- Basic event handling
- Reacting to touch events
- Drag events
- Complex layouts
- Advanced event handling
- Detecting gestures
- Summary
- Chapter 4: Advanced 2D Rendering
- Drawing operations
- Bitmaps
- Using the Paint class
- Drawing more primitives
- Drawing text
- Transformations and operations
- Putting it all together
- Summary
- Chapter 5: Introducing 3D Custom Views
- Introduction to OpenGL ES
- Getting started with OpenGL ES in Android
- Drawing basic geometry
- Drawing geometry
- Adding volume
- Adding textures
- Loading external geometry
- Summary
- Chapter 6: Animations
- Custom-made animations
- Timed frame animations
- Fixed timestep
- Using Android SDK Classes
- ValueAnimator
- ObjectAnimator
- Summary
- Chapter 7: Performance Considerations
- Performance impact and recommendations
- The impact of not following the best practices
- Code optimization.
- Mocking up the preview window
- Summary
- Chapter 8: Sharing Our Custom View
- Best practices for sharing our custom view
- Considerations and recommendations
- Configurable
- Publishing our custom view
- Open sourcing our custom view
- Creating a binary artifact
- Summary
- Chapter 9: Implementing Your Own EPG
- Building an EPG
- EPG basics and animation setup
- Interaction
- Zooming
- Configurations and Extensions
- Making it configurable
- Implementing callbacks
- Summary
- Chapter 10: Building a Charts Component
- Building a basic chart custom view
- Margins and padding
- Basic implementation
- Optimizations and improvements with Paths
- Background lines and details
- Customizations
- Adding advanced features
- Real-time updates
- Multiple data sets
- Zooming and scrolling
- Summary
- Chapter 11: Creating a 3D Spinning Wheel Menu
- Creating an interactive 3D custom view
- Adding interactions
- Improving interactions and animations
- Adding actionable callbacks
- Customizations
- Beyond the basic implementation
- Rendering text
- Multiple faces
- Summary
- Index.