Created from Fragment sample in http://developer.android.com