Well, jfeinstein10 was saying in an issues that someone reported from using
web view with sliding menu to actually comment the whole manageLayer
function to disable hardware acceleration. Therefore I just figure that
quitting the function before it did anything would be just as good. It
fixes the issue with web view for sure since I use it for my app and the
checker board pattern disappeared when I turn it off. If your way of doing
it works too, I'm perfectly comfortable with that also.

Steve
On Apr 1, 2013 3:06 AM, "Taylor H. Perkins" <notifications@github.com>
wrote:

> In library/src/com/slidingmenu/lib/SlidingMenu.java:
>
> > @@ -971,6 +985,7 @@ protected boolean fitSystemWindows(Rect insets) {
> >  	@TargetApi(Build.VERSION_CODES.HONEYCOMB)
> >  	public void manageLayers(float percentOpen) {
> >  		if (Build.VERSION.SDK_INT < 11) return;
> > +		if (!useHardwareAcceleration) return;
> >
> >  		boolean layer = percentOpen > 0.0f && percentOpen < 1.0f;
> >  		final int layerType = layer ? View.LAYER_TYPE_HARDWARE : View.LAYER_TYPE_NONE;
>
> I think, in lieu of the above this might be:
>
> final int layerType = layer && useHardwareAcceleration ?
> View.LAYER_TYPE_HARDWARE : View.LAYER_TYPE_NONE;
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jfeinstein10/SlidingMenu/pull/350/files#r3598684>
> .
>