Wednesday, March 26, 2014

android surfaceview mobile flashing black screen problem


I put a 6 surfaceview object scrollview container, the current screen to show only one surfaceview
Flashing blank screen appears when the user
sliding around when switching display the next surfaceview, but switchedOnline that is surfaceview double buffering problems caused, but no detailed tips, expert advice ah.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
surfaceview are double-buffered, two take turns playing.
Reply:
What landlord do if you just put six surface display pictures on the line with viewpager
Reply:
cited a floor tobacco5648 reply:
surfaceview are double-buffered, two take turns playing.


I know that is a double-buffered, I put a scrollview container six surfaceview game interface, the strange thing is right sliding black line does not appear, but it will slide to the left
Reply:
reference to the second floor wenwei19861106 reply:
landlord what to do if you just put six surface display pictures with viewpager on the line
< br />
I put a scrollview container six surfaceview game interface, not pictures
Reply:
Find the answer ah
Reply:
If you do not reuse contentView left to right, then went back to new a new View, right? . . . Initialization sufaveview not that what black. . . As for the right not to estimate the internal mechanism ScrollView black bar. . Such as a screen outside of the preload and the like. . .
Reply:
reference to the 6th floor Lucifd_CH reply:
If you do not reuse contentView left to right, then went back to new a new View, right? . . . Initialization sufaveview not that what black. . . As for the right not to estimate the internal mechanism ScrollView black bar. . Such as a screen outside of the preload and the like. . .


Multiplexed surfaceview object is not black slide right, slide left blank are loads of things outside of the screen, or a black horse for God, to solve ah.
Reply:

Multiplexed surfaceview object is not black slide right, slide left blank are loads of things outside of the screen, or a black horse for God, to solve ah.


Excuse me, solved yet
Reply:
I also encountered the same problem, there are solutions to it?
Reply:
Format impact 1.window, pay attention to this situation
2 switchover, sit surfaceView not be destroyed, destroyed and rebuilt since then, even if you set the correct window foemat also black.

No comments:

Post a Comment