Giter VIP home page Giter VIP logo

libslidemenu's People

Contributors

bk138 avatar danieltwagner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libslidemenu's Issues

ClassCastException

Getting a ClassCastException on Android 4.3 Devices:

07-25 12:13:31.898: E/AndroidRuntime(31613): FATAL EXCEPTION: main
07-25 12:13:31.898: E/AndroidRuntime(31613): java.lang.ClassCastException: com.android.internal.widget.ActionBarOverlayLayout cannot be cast to android.widget.FrameLayout
07-25 12:13:31.898: E/AndroidRuntime(31613): at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:317)
07-25 12:13:31.898: E/AndroidRuntime(31613): at com.coboltforge.slidemenu.SlideMenu.show(SlideMenu.java:260)
07-25 12:13:31.898: E/AndroidRuntime(31613): at com.securenetsystems.g5.MainActivity$5.onClick(MainActivity.java:234)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.view.View.performClick(View.java:4240)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.view.View$PerformClick.run(View.java:17721)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.os.Handler.handleCallback(Handler.java:730)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.os.Handler.dispatchMessage(Handler.java:92)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.os.Looper.loop(Looper.java:137)
07-25 12:13:31.898: E/AndroidRuntime(31613): at android.app.ActivityThread.main(ActivityThread.java:5103)
07-25 12:13:31.898: E/AndroidRuntime(31613): at java.lang.reflect.Method.invokeNative(Native Method)
07-25 12:13:31.898: E/AndroidRuntime(31613): at java.lang.reflect.Method.invoke(Method.java:525)
07-25 12:13:31.898: E/AndroidRuntime(31613): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
07-25 12:13:31.898: E/AndroidRuntime(31613): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-25 12:13:31.898: E/AndroidRuntime(31613): at dalvik.system.NativeStart.main(Native Method)

How is the correct mode to use this lib, with fragments or activities?

I think it's the first case, fragments, the correct mode was any MenuItem call a update of the master fragment.

If the correct mode was with activity, i think it's necessary have a master activity and all the other activities extends master activity.

How is the correct mode?
How i've to call the other fragment/activity by the onSlideMenuItemClick? Is it a intent?

Slide to hide menu

This is a great library so far, but I miss a little feature.
If you look at the youtube or google+ app, it is possible to grab the main view and slide it back over the menu to hide it. Is it possible to implement this?

Slide from right

It'd be great to be able to choose to implement this drawer from the left and/or the right.

Sliding back does not work

Hello,
using your library but it does not slide back.
i have to click outside the menu or click the actionbar button.

how can i slide it back?

Thanks

menu hide does not animate back

Hi I am using your library and I have encountered a weird problem that occurs only in xperia devices , when I hide the menu the main activity doesn't animate back leaving a black screen on the place the menu use to be.

Override isShown() method in your SlideMenu Class

Since slidemenu.isShown() method returns "true" even though menu was not shown. The below code(What I thought to be valid) ends up in exception since menu object is null.

public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_MENU) {
if(slideMenu.isShown())
slideMenu.hide();
}
}

Sometimes make error at some devices

I refer similar code in stackoverflow, and it worked very well on my device(HTC raidar 4G, Nexus 7, Galaxy)

But If I use other phone(other htc phone, motorola atrix) it crashed. I track code and find that devices have different view.

http://stackoverflow.com/questions/11650847/decorview-child-framelayout
<- This issue has similar problem with me.

That thread said that remove NoTitleBar attribute, but it doesn't work to me.

So I asked here : http://stackoverflow.com/questions/12109512/decorview-child-framelayout-is-different-at-devices

and one said that do not use android.R.id.content since it is different with devices. Have you any idea about this? Thanks,

Crashing on Samsung S3 android build 4.1

It is crashing on Samsung S3 android build 4.1
ClassCastException: LinearLayout casting to FrameLaout.

I found solution ๐Ÿ‘

  1. private static ViewGroup parent;
  2. Converted all FrameLayout.LayoutParams to LayoutParams
    
  3. parent = (ViewGroup) act.getWindow().getDecorView();
    

How can i set the sliding screen comes first ?

I want to show the sliding screen first when the activity is invoked.That is when the user enter into the app home he need to see the sliding menu first(contains the list ) .For that what i need to do in my activity class? I have tried
slidemenu = new SlideMenu(this, R.menu.slide, this, 333); slidemenu.show(); in on create but it doesnt works well because the transition animation is shown at the start?Please help me with a solution

LibSlideMenu doesn't work with target sdks 14 and 15.

Thank you for making this menu available - it's awesome. Just wanted to add that it appears it doesn't work with sdks 14 and 15. Menu icon in upper left corner is not clickable (and no menu appears) when compiling with target sdk 14 and higher.

Android system bar covering the SlideMenu

I'm using LibSlideMenu on my Samsung Galaxy Note with Ice Cream Sandwich and the system bar is covering the top part of the SlideMenu.

A quick fix would be to check if the system bar is visible and scale down the SlideMenu of the size of the SystemBar.

consider merging with ened/LibSlideMenu?

I was going to make a few additions to this project in order to be able to customize views and introduce non-clickable headers, when I found that Sebastian Roth (ened) had already made those customizations. I really quite like the changes he made apart from one minor edit which means that the menu will slide open a long way on tablet devices, which I've subsequently undone and posted here:
https://github.com/danieltwagner/LibSlideMenu.

The changes look much worse than they are in real life because indentation was changed. If you do a diff with whitespace ignored then you'll see that they are actually minimally invasive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.