emilsjolander / android-FlipView

A small, easy to use android library for implementing flipping between views as seen in the popular Flipboard application
Apache License 2.0
923 stars 273 forks source link

flipview turns white when flipping on note 2 but works fine on htc one x #56

Open norrisboat opened 9 years ago

biechereran commented 9 years ago

Did you find a solutions for this? it's also turns to white on Galaxy s3..

norrisboat commented 9 years ago

@biechereran no.But it works fine now.

biechereran commented 9 years ago

I have a problem on Galaxy S3. I tried many S3 and I get this issue add screenshot: before dragging and when I just start to drag.. The half part of the image dissapearing..

20150622_145413_resized 20150622_145424_resized

Any help?

ayltai commented 9 years ago

Can you try to enable/disable hardware acceleration on the device? If no good, try it in your code: <activity android:hardwareAccelerated="true or false" /> or getWindow().setFlags( WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); or myView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); I had this problem before, and it is related to the device's hardware/firmware.

biechereran commented 9 years ago

You're Rock! For your information: Hardware acceleration is enabled by default if your Target API level is >=14, but can also be explicitly enabled.. The only way that helped me was this: myView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

Thanks guys..

zjutcmos commented 7 years ago

ayltai‘s way can solve it

vimalpzr commented 6 years ago

fliping not smooth . flip half a littile jumb