jfeinstein10 / SlidingMenu

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!
Apache License 2.0
11.07k stars 5.03k forks source link

Behind view menu not shown properly on Android 4.0.4 #509

Open powder366 opened 11 years ago

powder366 commented 11 years ago

Sliding menu is not shown properly on Android 4.0.4, it works on all our other versions and models. Calling showMenu gives us the attached screenshot "problem". The attached screenshot "ok" display how it should look.

We are using Samsung Galaxy Note 10.1 with Android 4.0.4

Pressing the home button and re-starting the app, works, seems it initialize everything correct then.

However pressing our button for showMenu()/showContent() does not work.

I have tried to disable <application android:hardwareAccelerated="false" via AndroidManifest without luck.

Also tried to change line 997 in SlidingMenu from final int layerType = layer ? View.LAYER_TYPE_HARDWARE : View.LAYER_TYPE_NONE; to final int layerType = View.LAYER_TYPE_NONE;

How could we fix this?

OK attachment: ok

Problem attachment: Black arrow is pointing to the content that should be displayed as OK attachment above. Red arrow is pointing to the content from the previous view, should not be there, also one can see that our three buttons are not displayed on the right and side with the proper content. img_20130805_151454

papachan commented 11 years ago

I have exactly the same problem with 4.0.4 is there any fix?