Refactor resource value names to be more descriptive
Reformat code using IDE tool to make style consistent
Refactor complexity of onCreate in main activity class

The TextWatcher anonymous class is growing in complexity and beginning to clutter up the onCreate function of the main activity class.

Refactor the code so that the anonymous class is an inner class instead
Move the fields for the resource values from the main activity class to the TextWatcher inner class where they are used
Define a generic error colour resource value
Change the colour resource value used for the message length error colour to reference the generic error color
Define a generic warning colour resource value
Change the colour resource used for the message length warning colour to reference the generic warning color
Change the hard-coded value in the generic error colour resource value to use one of the pre-defined colours contained in the Android themes
Create a layout for landscape mode
Change position of widgets on landscape version of main activity layout