Sliding menu gesture overlay graphic gesture – scrollable gesture of Android

I used here's sliding menu in my application. My application also has a GraphView in which I set some data in real time. The graph is a linear graph that can scroll left and right. However, through the sliding menu with left to right gestures, users can't scroll in the graph because the menu keeps popping up

Is there any way to override the menu function when an item is pressed? The drawing item is just a LinearLayout

I also use clips, so each menu item is a clip

resolvent:

Be sure to call

setTouchModeAbove(SlidingMenu.TOUCHMODE_MARGIN);

Not at all

setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);

On the slidingmenu object / clip / activity, the menu is displayed only when you drag the menu from the edge / border of the screen

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>