Code for Android Fragment Tutorial