Android sample program using fragment and allows using back button in tabs.