Sign in Go Pro

Custom Views and ViewGroups

Custom Views and ViewGroups (Part 1)

 
Autoplay

Up next

About

An introduction to custom Views and ViewGroups, subclassing the View class, and performing completely custom drawing within that subclass.

In this episode you will learn:

When you might need to build custom Views.
The process of how an instantiated View is drawn onto the screen.
The basic steps to extend the base View class to draw fully custom content.
How to use a custom View class in an XML layout.
How to request a custom View class to redraw.

Instructor

Links

Comments

Hi, great tutorial so far, very easy to follow which is great. But why is textOffsetY * -0.4f and not -0.5f??

I figured -0.5 would center it more correctly? Or am I missing something?

Thanks

Hi, can you tell me if this course is up to-date with the industry standards?

Yes, it is. If you're creating custom views and view groups you'll find value in this course.

>
You need to go PRO to post comments.

Lessons in Custom Views and ViewGroups