Add an uses-sdk statement to the manifest, setting minSdkVersion=3
corresponding to the library manifest, but set target SDK in both
manifest and properties to the currently latest SDK 17.
Set the WRITE_EXTERNAL_STORAGE permission in the test manifest, so that
the test will be allowed to write its junit-results.xml file also on
modern systems.
Set allowBackup=false to comply with the expectations on a modern
manifest file.
Add @Override annotations consistently.
Add explicit Locale.US to toLowerCase() calls, instead of depending on
the defaul locale to be the US locale (or any locale that for our
purposes here behaves identically to it).
Remove trailing whitespace and ensure that all files end with a newline
(which makes git make much nicer diffs).
Replace getString() with getText() for static string resources.
Move the call to setTitle() into the NumberPickerDialog constructor, so
that all text resources (and not only two thirds of them) are set by the
constructor.
Remove unused layout resource main.xml from the library.
Add @SuppressWarnings("deprecation") for use of getPreferenceManager()
and addPreferencesFromResource().
Make preferences menu action "ifRoom" instead of "always".
Move hard-coded string into string resources.