Android Custom Components

Pluralsight
Course Summary
Learn how to create custom components to control the look-and-feel of your app and implement functionalities that are only available by subclassing the View class.
-
+
Course Description
Android comes with many built-in components, but some tasks are best accomplished by rolling your own. We will start from a simple example of enhancing the TextView class, and finish with a complete custom view with its own size measurement, drawing function, and custom attributes. We will also discuss the best practices for custom views. What is the difference between a custom view and a fragment? How about a compound control? When to use which? By the end of the course, you will know not only how to create reusable custom components, but when to use them.
-
+
Course Syllabus
Introduction- 4m 17s
—Overview 4m 17sExtend a Simple View- 13m 1s
—Overview 1m 10s
—Show Version in Hello World 2m 25s
—Create Custom View 3m 6s
—Use Custom View in Java 1m 36s
—Use Custom View in XML 1m 41s
—Specify Parent Parameters in XML 0m 56s
—Summary 2m 4sCompound Control- 27m 23sonMeasure- 9m 52sonLayout- 10m 19sonDraw- 24m 6sdispatchDraw- 6m 54sFragment vs. Custom View- 3m 47s