Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Android Custom Components

via Pluralsight

Write review

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it


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.

Syllabus

  • Introduction 4mins
  • Extend a Simple View 13mins
  • Compound Control 27mins
  • onMeasure 9mins
  • onLayout 10mins
  • onDraw 24mins
  • dispatchDraw 6mins
  • Fragment vs. Custom View 3mins

Taught by

Chiu-Ki Chan

Reviews

4.7 rating at Pluralsight based on 139 ratings

Start your review of Android Custom Components

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.