- Building Android UIs with Custom Views
- Raimon Ràfols Montané
- 131字
- 2021-07-02 15:33:38
Implementing Your First Custom View
In the previous chapter, we've seen how to create the foundations of a custom view, but unless we add some more features and customizations it'll be pretty useless. In this chapter, we'll continue building on top of these foundations, see how we can parameterize our custom view to allow either ourselves or any other developer to customize them, and at the end, cover some rendering that will enable us to build slightly more complex custom views.
In addition, as we've mentioned in the previous chapter, we can create custom layouts as well. In this chapter, we'll see how to create a simple custom layout.
In more detail, we'll cover the following topics:
- Measuring and parameterizing our custom view
- Instantiating custom views
- Creating custom layouts
- Basic rendering
推薦閱讀
- FuelPHP Application Development Blueprints
- 兩周自制腳本語言
- Unity Shader入門精要
- AutoCAD VBA參數化繪圖程序開發與實戰編碼
- 基于Swift語言的iOS App 商業實戰教程
- 名師講壇:Spring實戰開發(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- H5頁面設計:Mugeda版(微課版)
- HTML5權威指南
- Building Serverless Architectures
- JSP程序設計與案例實戰(慕課版)
- JavaScript悟道
- Mastering Embedded Linux Programming
- Learning ECMAScript 6
- Kohana 3.0 Beginner's Guide
- Python深度學習(第2版)