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

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
主站蜘蛛池模板: 潞西市| 招远市| 抚顺县| 扶余县| 江都市| 西吉县| 县级市| 陈巴尔虎旗| 滕州市| 墨竹工卡县| 沅江市| 山西省| 陆良县| 岳西县| 梁平县| 秀山| 金寨县| 鱼台县| 巫溪县| 通渭县| 灵台县| 长治县| 屯昌县| 文安县| 和林格尔县| 钟山县| 西畴县| 类乌齐县| 廊坊市| 普定县| 长寿区| 遂平县| 苍南县| 天长市| 任丘市| 怀安县| 平昌县| 汽车| 枝江市| 娄底市| 东阿县|