Sounds like a bug, please file a report with an apk or a sample project that reproduces the issue and I'll fix it.
On Tue, Aug 28, 2012 at 11:05 PM, Mark Murphy <mmur...@commonsware.com> wrote: > On Tue, Aug 28, 2012 at 8:54 AM, Thesalan <thesa...@gmail.com> wrote: >> The project is attached to this post, at this lighter version (like we can >> found here https://gist.github.com/8cbe094bb7a783e37ad1) >> >> I repeat : this works greats on emulator and older devices, but not on my >> HTC One X with last OTA (Android 4.0.4) and Nexus S with CyanogenMod 10 >> (Android 4.1.1) > > I can reproduce your problem. > > It appears to be tied to hardware acceleration, insofar as if I add > android:hardwareAccelerated="false" to the activity, things work on > hardware where it failed before (and also fails if I set the value > explicity to "true"). > > Since the issues of clipping and hardware acceleration are beyond my > area of expertise, I can't explain why this is the case. Rather than > disable hardware acceleration for the whole activity, you could > experiment with disabling it just for the ViewPager itself. And, of > course, if we're lucky, somebody who understands more about this area > will chime in and explain where things are going wrong. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 4.1 Available! > > -- > 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 -- Romain Guy Android framework engineer romain...@android.com -- 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