2012/8/29 Thesalan <[email protected]>

> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to