Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com
This app does the same as the one in the 3rd lesson, but here the preferred technique of xml layout has been used.
Since the components have been defined in the layout xml file,...
they are found thusly.
The SeekBar takes up its parent's, the LinearLayout's width...
and its maximum value has been set in xml.
The button's text size.
The Cnv class has been made known in the XML file, using the inner class notation, $Cnv.
When the button is clicked, the Cnv's clear method is called in this manner, since it's the only method being called from MainActivity.