Merge branch 'actionbar' of https://github.com/nikclayton/android-squeezer into actionbar
Merge remote-tracking branch 'kaaholst/actionbar' into actionbar
Remove the uses-sdk element in favour of the build.gradle config.
Set targetSdkVersion to 19.
Compile to SDK 19 using buildTools 19.

Move the defaultConfig { } block next to the other options for choosing
SDK versions.

Remove the default versionCode and versionName, provide them explicitly
in each product flavor.

Set the beta version code to 14.
Add a suffix to the beta versionName, incremented with each release.
Use Gradle dependency management to include the Android Support library.
Keep the model class constructors.
Update version code and name for 1.0-beta-2.
Focus scrollable TextViews instead of selecting them.

On (at least) devices running API 7, calling setSelected() on the TextView
displays the text in a darker colour that's difficult to read.  Marking them
as focused does not have this problem.

The trade-off is that only one TextView can have the focus, so this disables
scrolling for TextViews other than the track name.
Adjust padding in now_playing_fragment_full so controls appear on Nexus 4.
Include Windows path for Android Studio config files.
Fix an exception when the fragment is not attached to the activity.

getString() calls require that the fragment is attached to the parent activity,
otherwise it triggers a java.lang.IllegalStateException, complaining that
"Fragment NowPlayingFragment{42510538} not attached to Activity".
Use the unqualified name for the Wrapper task.
Use the ActionBar from the Android appcompat library.

build.gradle:
- Import the appcompat-v7 library.

res/menu/squeezer.xml:
- Use a custom XML namespace prefix for the actionbar attributes.

res/values*/styles.xml
- Remove the actionbarcompat specific styles.

src/*:
- Remove the acitonbarcompat files.
- Use the slightly different API in the official library.

Much kudos to Kurt for the original work on all of this.
Check if the fragment is still attached to the activity in setConnected.

"java.lang.IllegalArgumentException: ... not attached to window manager"
errors have occurred (in the clearConnectingDialog case) because of a race
condition between this callback being called and the hosting activity
being destroyed.
Set ProgressBar default visibility to gone.

Otherwise it will show if the device is re-oriented, and there is no new
data to show (onItemsReceived, which sets the visibility, is not called).
Remove unused resource strings.
Explcitly set allowBackup to true (the default value).

Quiet's a warning in AndroidStudio.
Suppose a warning in the license.

The analyzer thinks that "(c)" in the list of redistribution requirements
could be replaced by the copyright symbol.