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

Getting Started

You might be wondering what a custom view is; that's alright, we'll cover that and way more in this book. If you've been developing Android applications for a while, you've most probably used the standard Android views or widgets tons of times. These are, for example: TextView, ImageView, Button, ListView, and so on. A custom view is slightly different. To summarize it quickly, a custom view is a view or a widget where we've implemented its behavior ourselves. In this chapter, we'll cover the very basics steps we'll need to get ourselves started building Android custom views and understand where we should use them and where we should simply rely on the Android standard widgets. More specifically, we will talk about the following topics:

  • What's a custom view and why do we need them?
  • How to set up and configure our environment to develop custom views
  • Creating our very own first custom view
主站蜘蛛池模板: 博客| 四川省| 星子县| 道真| 玉山县| 云梦县| 红原县| 合阳县| 五家渠市| 徐水县| 安乡县| 获嘉县| 泗阳县| 阿尔山市| 汾阳市| 九龙城区| 富民县| 万年县| 玛纳斯县| 隆安县| 沁水县| 新乡市| 三原县| 安达市| 开远市| 和静县| 武城县| 寿阳县| 临颍县| 巴塘县| 阿合奇县| 呼伦贝尔市| 汶川县| 龙陵县| 平顺县| 哈尔滨市| 阿坝县| 普定县| 白朗县| 罗平县| 桦甸市|