Building Android UIs with Custom Views
暫譯: 使用自訂視圖構建 Android 使用者介面

Raimon Rafols Montane

  • 出版商: Packt Publishing
  • 出版日期: 2017-10-27
  • 定價: $1,480
  • 售價: 6.0$888
  • 語言: 英文
  • 頁數: 294
  • 裝訂: Paperback
  • ISBN: 1785882864
  • ISBN-13: 9781785882869
  • 相關分類: Android
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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

About the Author

Raimon Ràfols Montané is a software engineer currently living in the Barcelona area. He has been working on mobile devices since their early stages, ranging from monochrome devices to the current smartphones. During this time, he has worked in several areas: B2C/B2E/B2B apps, portals, and mobile gaming. Due to this broad experience, he has expertise in many technologies and, especially in UI, build systems, and client-server communications.

He is currently working as an engineering manager at AXA Group Solutions in Barcelona, taking care of all the engineering and development processes, mobile application quality, and leading the R&D team. In the past, he has worked abroad for Imagination Technologies near London and for Service2Media in the Netherlands.

In his spare time, he enjoys taking part in hackathons, photography, and speaking at conferences. Raimon has won more than 40 international awards, including AngelHack Barcelona 2015, Facebook World Hack Barcelona. Also, he has secured the second place at JS1k 2016. He was the chairman of the Transforming Industries Summit at the Mobile World Congress Shanghai 2017, where he also spoke about Enterprise Transformation. In addition, he has given talks speaking about Android and Java performance, bytecode, custom views, and entrepreneurship in at several conferences around the world.

In addition, Raimon is the coauthor of Learning Android Application Development, also published by Packt, and he has been the technical reviewer of several other titles, including Mastering Android NDK and Android Things Projects, among others.

Table of Contents

  1. Getting started
  2. Implementing your first Custom View
  3. Handling events
  4. Advanced 2D Rendering
  5. Introducing 3D Custom Views
  6. Animations
  7. Performance Considerations
  8. Sharing our Custom View
  9. Building an Electronic Programming Guide
  10. Building a Charts component
  11. Creating a 3D spinning wheel menu

商品描述(中文翻譯)

**主要特點**
- 超越預設的 UI 模板,使用 Android Custom View 創建和自訂驚人的 UI
- 通過創建靈活的自訂視圖,實現流暢的數據流並創建未來感的 UI
- 使用響應式和數據密集型視圖擴展您的應用程式

**書籍描述**
要為您的 Android 應用程式構建出色的用戶界面,超越標準的 UI 元素,您需要使用自訂的 Android 視圖。通過這些視圖,您可以為應用程式賦予獨特的外觀,並確保它在多個設備上正常運行。

本書將幫助您通過教您如何創建自訂的 Android 視圖來構建出色的 UI。您將從創建第一個 Android 自訂視圖開始,並考慮設計因素。然後,您將看到正確的選擇如何使您的自訂視圖在多個平台和 Android 版本上無縫運行。

您將創建與 Android XML 佈局配合使用的自訂可樣式屬性,學習處理觸控事件,定義自訂屬性,並向它們添加屬性和事件。

在本書結束時,您將能夠創建具有自訂視圖的應用程式,這些視圖是響應式和可適應的,使您的應用程式獨特並迅速受到用戶的喜愛。

**您將學到的內容**
- 通過創建自訂視圖擴展標準 UI 小部件框架
- 為您的視圖添加複雜的渲染、動畫和互動
- 優化性能並減少電池使用
- 實現自訂視圖以便在多個項目之間共享,或公開共享
- 使用 OpenGL ES 創建 3D 自訂視圖

**關於作者**
**Raimon Ràfols Montané** 是一位目前居住在巴塞隆納地區的軟體工程師。他自移動設備早期階段以來就一直在這個領域工作,涵蓋從單色設備到當前智能手機的各種設備。在此期間,他在多個領域工作過:B2C/B2E/B2B 應用程式、門戶網站和移動遊戲。由於這種廣泛的經驗,他在許多技術方面擁有專業知識,特別是在 UI、構建系統和客戶端-伺服器通信方面。

他目前在巴塞隆納的 AXA Group Solutions 擔任工程經理,負責所有工程和開發流程、移動應用程式質量,並領導 R&D 團隊。在此之前,他曾在倫敦附近的 Imagination Technologies 和荷蘭的 Service2Media 工作。

在空閒時間,他喜歡參加黑客馬拉松、攝影和在會議上演講。Raimon 獲得了超過 40 個國際獎項,包括 2015 年的 AngelHack Barcelona 和 Facebook World Hack Barcelona。此外,他在 2016 年的 JS1k 比賽中獲得第二名。他曾是 2017 年上海移動世界大會的 Transforming Industries Summit 的主席,並在會上講述企業轉型。此外,他在世界各地的多個會議上發表過有關 Android 和 Java 性能、字節碼、自訂視圖和創業的演講。

此外,Raimon 是《Learning Android Application Development》的共同作者,該書同樣由 Packt 出版,他還擔任過其他幾本書的技術審稿人,包括《Mastering Android NDK》和《Android Things Projects》等。

**目錄**
1. 開始使用
2. 實現您的第一個自訂視圖
3. 處理事件
4. 進階 2D 渲染
5. 介紹 3D 自訂視圖
6. 動畫
7. 性能考量
8. 共享我們的自訂視圖
9. 建立電子程式指南
10. 建立圖表組件
11. 創建 3D 旋轉輪菜單