Creating a global toolbar (mini music player) on Android

Although this post is self-contained, you might be interested in reading the complete series on creating a music player for Android. First let's start with a description of what we want to achieve with this mini player. It should be simple enough to be embedded in all activities when the…