android - SlidingMenu and ViewPager with API13 (Honeycomb) -


i´m experiencing weird problem slidingmenu library , viewpager when running on devices android 3.2 (honeycomb).

the problem appears when "toggle" slidingmenu show menu hidden on left of app. when this, both contentview , behingcontentview stops responding touch events.

thinking problem related application, downloaded last version of abs , slidingmenu library , configured new project using built-in example comes slidingmenu and, surprise, same behavior occurred viewpager example.

these steps did:

  1. configure emulator using api level 13 , 7" wsvga (tablet);
  2. download abs , slidingmenu git;
  3. setup new project, using compatibility library android-support-v41 (also tested android-support-v4);
  4. solved problem 'getsupportactionbar() undefined' described here: https://github.com/jfeinstein10/slidingmenu/issues/145;
  5. run 'example application' , choose 'viewpager' example;
  6. swipe pages right , left, without opening menu;
  7. open menu. see lists don´t scroll expected;
  8. close menu. see viewpager doesn´t responds touch events anymore;

notice behavior reported on android 3.2 devices. have same application running on 2.x , on 4.x devices, without problem.

also, noticed example application downloaded google play doesn´t have problem.

does have advice? lot!

edit 1

tested on real device, , confirmed behavior. have advice?

i had same problem , fixed using following work-around.

replace these lines in slidingmenu.java:

@targetapi(build.version_codes.honeycomb) public void managelayers(float percentopen) {     if (build.version.sdk_int < 11) return; 

with:

@targetapi(build.version_codes.ice_cream_sandwich) public void managelayers(float percentopen) {     if (build.version.sdk_int < 14) return; 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -