Add suppress warnings for methods supported in Android 4.2 and higher.
Fix whitespace issues and other Lint warnings.