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

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
主站蜘蛛池模板: 新田县| 永顺县| 明水县| 马尔康县| 象州县| 莆田市| 叶城县| 滁州市| 泸西县| 辽宁省| 麻江县| 盘锦市| 南部县| 杭锦旗| 郧西县| 阳山县| 浦北县| 榆中县| 繁峙县| 扬州市| 浠水县| 独山县| 赤城县| 牙克石市| 通榆县| 钟祥市| 临汾市| 册亨县| 增城市| 乐清市| 霸州市| 青铜峡市| 堆龙德庆县| 永昌县| 神池县| 乐都县| 牟定县| 鄱阳县| 安达市| 南昌市| 新巴尔虎左旗|