The libslidemenu library does not work for Android 2.3

I’m using ActionShrelockBar & libslidemenu library.

The slide menu work’s fine for 2.3 to 4.2.

But when i tried it in 4.3 latest version of android the slidemenu crashes .

I tried by adding support library but no go.

07-26 02:04:14.400: E/AndroidRuntime(785): FATAL EXCEPTION: main
07-26 02:04:14.400: E/AndroidRuntime(785): java.lang.ClassCastException:      com.android.internal.widget.ActionBarOverlayLayout cannot be cast to android.widget.FrameLayout
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:317)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:260)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.hrh.lba.fragments.CategoryFragment.onOptionsItemSelected(CategoryFragment.java:326)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.support.v4.app.Watson.onMenuItemSelected(Watson.java:127)
07-26 02:04:14.400: E/AndroidRuntime(785):  at  com.actionbarsherlock.ActionBarSherlock.callbackOptionsItemSelected(ActionBarSherlock.java:603)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.actionbarsherlock.internal.ActionBarSherlockNative.dispatchOptionsItemSelected(ActionBarSherlockNative.java:78)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.actionbarsherlock.app.SherlockFragmentActivity.onMenuItemSelected(SherlockFragmentActivity.java:205)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.android.internal.widget.ActionBarView$3.onClick(ActionBarView.java:171)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.view.View.performClick(View.java:4240)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.view.View$PerformClick.run(View.java:17721)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.os.Handler.handleCallback(Handler.java:730)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.os.Handler.dispatchMessage(Handler.java:92)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.os.Looper.loop(Looper.java:137)
07-26 02:04:14.400: E/AndroidRuntime(785):  at android.app.ActivityThread.main(ActivityThread.java:5103)
07-26 02:04:14.400: E/AndroidRuntime(785):  at java.lang.reflect.Method.invokeNative(Native Method)
07-26 02:04:14.400: E/AndroidRuntime(785):  at java.lang.reflect.Method.invoke(Method.java:525)
07-26 02:04:14.400: E/AndroidRuntime(785):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)

Tried with this patch .

And it’s working great for 4.3 now .

Patch

Hello, buddy!稿源:Hello, buddy! (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 移动开发 » The libslidemenu library does not work for Android 2.3

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录