Fix warnings and errors

Merged Craig Earley requested to merge fix-warnings-and-errors into master

These commits fix the subset of the Android Lint error and warning messages that seem, to me, unquestionably problematic (rather than a matter of preference). Please review for approval.

Merge request reports