Android Sliding Menu User Interface

The sliding menu in my application blocks the user interface after it is opened, SlidingMenu.SLIDING_WINDOWonly in Android Lollipop. It happens.

menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_MARGIN);
menu.setBehindOffset(130);
menu.setFadeDegree(0.35f);
menu.attachToActivity(_activity, SlidingMenu.SLIDING_WINDOW,false);
menu.setMenu(R.layout.left_menue_new);
+4
source share
2 answers

No, this argument is not fruitful, I myself decide the answer by simply adding one line to the manifest, i.e.

android:hardwareAccelerated="true"
+3
source

This worked for me, I tested on api levels 21, 22 and 19 as well

if (Build.VERSION.SDK_INT == 21) return;

add this line after line Num 974 in SlidingMenu.java enter image description here

Vote if it works, may be useful for others

0
source

All Articles