modified Android Fragment demonstration