In this chapter, we have seen how to measure and how to add parameters to our custom view. We also saw how to instantiate a custom view from code and use a Builder pattern to simplify all the parameters and keep our code cleaner. In addition, we went through a quick example of a custom layout and we started building a circular activity indicator. In the next chapter, we will see how to handle events and add some interactions to the circular activity indicator we've just started to build.