surfaceview adopts the other surface view

view story

http://stackoverflow.com – i have tried a small surface view and a full screen surface view in one activity. i use to set the visibility of small surface view to GONE and VISIBLE to full screen but when i close the full screen layout there's nothing on the small screen i mean it is all black. Why is that so? i have read the surface view in android dev. but i couldn't understand. Maybe i can find the answer here. i tried to set the small screen to visible to see it again, but it doesn't work. case R.id.view_fullscreen: //small screen linearlayout_smallscreen.setVisibility(View.GONE); (HowTos)