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

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
主站蜘蛛池模板: 库车县| 永康市| 临高县| 崇明县| 来安县| 乌审旗| 二手房| 高碑店市| 彭水| 诸城市| 元谋县| 嘉定区| 吉木萨尔县| 当雄县| 定南县| 通化县| 墨竹工卡县| 微山县| 汉寿县| 石家庄市| 灌云县| 盐亭县| 延安市| 大埔区| 邯郸县| 左云县| 互助| 汪清县| 奉贤区| 保德县| 晋城| 安新县| 句容市| 合肥市| 白城市| 垦利县| 临朐县| 铜山县| 南投市| 行唐县| 房产|