Big Nerd Ranch's Android Programming Chapter 24 and 25. Learning about custom views.