Book Description
Key Features
- 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 responsive and data intensive views
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.
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
Table of Contents
Chapter 1. Getting Started
Chapter 2. Implementing Your First Custom View
Chapter 3. Handling Events
Chapter 4. Advanced 2D Rendering
Chapter 5. Introducing 3D Custom Views
Chapter 6. Animations
Chapter 7. Performance Considerations
Chapter 8. Sharing Our Custom View
Chapter 9. Implementing Your Own Epg
Chapter 10. Building A Charts Component
Chapter 11. Creating A 3D Spinning Wheel Menu
中文:
书名:使用自定义视图构建Android用户界面
主要特点
- 超越默认的UI模板,使用Android Custom View创建和定制令人惊叹的UI
- 通过创建灵活的自定义视图,实现顺畅的数据流并创建具有未来风格的用户界面
- 使用响应性和数据密集型视图扩展您的应用程序
图书描述
要为您的Android应用程序构建超越标准UI元素的出色用户界面,您需要使用定制的Android视图。有了这些,你可以给你的应用程序一个独特的外观,并确保它在多个设备上正常运行。
这本书将通过教你如何创建定制的Android视图来帮助你为你的应用程序构建一个很棒的用户界面。您将从创建您的第一个Android定制视图开始,并了解设计注意事项。然后,您将看到正确的选择将如何使您的自定义视图能够跨多个平台和Android版本无缝执行。
您将创建使用Android XML布局的自定义可设置样式的属性,学习处理触摸事件、定义自定义属性并向其添加属性和事件。
到本书结束时,你将能够创建具有定制视图的应用程序,这些应用程序具有响应性和适应性,使您的应用程序与众不同,并立即受到用户的欢迎。
What you will learn
- 通过创建自定义视图扩展标准UI小部件框架
- 将复杂的渲染、动画和交互添加到视图中
- 优化性能并降低电池使用量
- 实现自定义视图以在多个项目之间共享,或公开共享
- 使用OpenGL ES创建3D自定义视图
Table of Contents
第1章:入门
第2章.实现您的第一个自定义视图
Chapter 3. Handling Events
第4章:高级2D渲染
Chapter 5. Introducing 3D Custom Views
Chapter 6. Animations
第7章.性能注意事项
第8章.共享我们的自定义视图
第9章.实现您自己的EPG
第10章.构建图表组件
第11章:创建3D旋转轮菜单
评论前必须登录!
注册