官术网_书友最值得收藏!

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
主站蜘蛛池模板: 旬阳县| 武夷山市| 洪雅县| 万全县| 南岸区| 金川县| 高邑县| 海城市| 尤溪县| 太和县| 五河县| 平远县| 沾化县| 富锦市| 鞍山市| 大名县| 朔州市| 临洮县| 崇明县| 南涧| 永寿县| 济源市| 湖口县| 泾阳县| 章丘市| 梨树县| 马公市| 汝城县| 平乡县| 工布江达县| 小金县| 兰坪| 鹤壁市| 辉县市| 阿图什市| 垦利县| 江安县| 搜索| 江永县| 加查县| 高雄县|