Ok thanks! But when I do it on the ViewPager, the clipping stay... I will try again tomorrow, it's late for me here ;)
Thanks again! Le mercredi 29 août 2012 00:23:03 UTC+2, Romain Guy (Google) a écrit : > > Thesalan, it's incorrect. setLayeType(View.LAYER_TYPE_SOFTWARE, null) > always works, no matter how or if hardware acceleration is enabled. > > On Tuesday, August 28, 2012 3:18:18 PM UTC-7, Thesalan wrote: >> >> Ok, thank you for the precision! >> >> Le mercredi 29 août 2012 00:05:24 UTC+2, Kostya Vasilyev a écrit : >>> >>> >>> 2012/8/29 Thesalan <thes...@gmail.com> >>> >>>> Mark, a huge thank you!! I never thought the problem would come from >>>> hardware acceleration (I'm a beginner after all ^_^). Indeed, my current >>>> rom force hardware acceleration for all applications. >>>> >>>> I tried to force software mode just on the ViewPager with >>>> setLayerType(View.LAYER_TYPE_SOFTWARE, null) (see here : >>>> http://developer.android.com/guide/topics/graphics/hardware-accel.html) >>>> but it doesn't work : content stay inside the viewpager. >>>> >>> >>> You can't force hardware accel off with setLayertType if it's already >>> been set to enabled elsewhere (in the manifest, or I suppose in your ROM). >>> Going the other way (software -> GPU) is possible. >>> >>> -- K >>> >>> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en