Source code from practice 2

Linear layout, different for orientations
onClick listeners define in XML
Activity life cycle
Usage of Log
Save and Restore activity states
Revert to 4.4