Summary
We have learned a lot in this chapter. As well as exploring a plethora of widgets, we also saw how to implement widgets in Java code without any XML, and used our first anonymous classes to handle clicks on a widget and put all our new widget prowess into a working app.
Now, let's move on and look at another way that we can significantly enhance our UIs.
In the next chapter, we will see a totally new UI element that we can't just drag and drop from the palette, but we will still have plenty of help from the Android API. Next up are the dialog windows. We will also make a start on our most significant app to date, the Note to self, memo, and to-do and personal note app.