updated demo to display textview, scanner fragment in same activity