SlidingDrawer | A custom slide drawer widget support low api level | iOS library

 by   dfqin Java Version: Current License: No License

kandi X-RAY | SlidingDrawer Summary

kandi X-RAY | SlidingDrawer Summary

SlidingDrawer is a Java library typically used in Mobile, iOS applications. SlidingDrawer has no bugs, it has no vulnerabilities and it has low support. However SlidingDrawer build file is not available. You can download it from GitHub.

A custom slide drawer widget support low api level. Though there is a SlidingDrawer widget in android SDK which is deprecated in API level 17, it can’t meet the demands in many cases and it hard to extend. In my case I need a sliding drawer which support drag to top,drag to center or to bottom, so I write this custom SlidingDrawer widget, you can drag or click to operate the drawer. It use "property animation" do the animation, to support the low API level, I use the NineOldAndroids compatible package (download in
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              SlidingDrawer has a low active ecosystem.
              It has 7 star(s) with 3 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              SlidingDrawer has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of SlidingDrawer is current.

            kandi-Quality Quality

              SlidingDrawer has 0 bugs and 0 code smells.

            kandi-Security Security

              SlidingDrawer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              SlidingDrawer code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              SlidingDrawer does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              SlidingDrawer releases are not available. You will need to build from source code and install.
              SlidingDrawer has no build file. You will be need to create the build yourself to build the component from source.
              SlidingDrawer saves you 192 person hours of effort in developing the same functionality from scratch.
              It has 474 lines of code, 25 functions and 11 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed SlidingDrawer and discovered the below as its top functions. This is intended to give you an instant insight into SlidingDrawer implemented functionality, and help decide if they suit your requirements.
            • Initialize the drawer view
            • Convert the dip value to ppx
            • Returns the screen height in pixels
            • Gets the screen width
            • Override to modify the drawer s content
            • Convert sp to pixels
            • Sets the size of the drawer
            • Convert px value to dp
            • Convert px to sp
            • Called when the Activity is created
            Get all kandi verified functions for this library.

            SlidingDrawer Key Features

            No Key Features are available at this moment for SlidingDrawer.

            SlidingDrawer Examples and Code Snippets

            No Code Snippets are available at this moment for SlidingDrawer.

            Community Discussions

            QUESTION

            Implement Sliding Drawer like functionality
            Asked 2019-Mar-14 at 11:04

            I wanted to add a Sliding Drawer to one of my activities, but saw that it was deprecated since API 17.

            What I'm interested in doing something similar to this one from androhub.

            My drawer/activity/fragment that pops up has only buttons inside. I need that handle button and I want the drawer to go up until the handle button hits the top of the screen.

            Can you point out what I can use to achieve this?

            ...

            ANSWER

            Answered 2019-Mar-14 at 09:28

            BottomSheet will open from the bottom. DrawerLayout will open from the side.

            Source https://stackoverflow.com/questions/55158893

            QUESTION

            net.simonvt.menudrawer.SlidingDrawer not working in kitkat. But working in Lollipop
            Asked 2019-Jan-18 at 11:12

            net.simonvt.menudrawer.SlidingDrawer is not working in Android Kitkat. But working in Android Lollipop.
            Getting error
            java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams

            I had set multiDexEnabled true in build.gradle

            also added the follwing in application

            ...

            ANSWER

            Answered 2017-Mar-21 at 04:57

            This is a deprecated library. I'd suggest you take a look at Android Navigation Drawer. Also Mutidex is only used when your application exceeds Android maximum number of methods i.e. 65,536 in a single Dex file. You should only enable Multidex if your build fails because this limit has exceeded. Cheers :)

            Source https://stackoverflow.com/questions/42908229

            QUESTION

            SlidingDrawer underlap in RelativeLayout
            Asked 2017-Jul-26 at 14:40

            I used a SlidingDrawer like in this tutorial

            It works in a LinearLayout, but there is always a whitespace depending of the hight of the slider and all other stuff show up below the whitespace.

            The soloution should be to use a Relative Layout. This deletes the whitespace but the handlerbutton from the slider seems to be under the content in the scrollview and don't do anything by clicking on it. See the screenshot

            MainActivity.xml

            ...

            ANSWER

            Answered 2017-Jul-26 at 14:40

            In view hierarchy terms, views defined at the beginning of your layout XML are "deeper" than those defined later.

            In your case your ScrollView is added to the hierarchy after your SlidingDrawer so what your seeing is to be expected.

            Move your SlidingDrawer to below your ScrollView and it should be above it.

            Source https://stackoverflow.com/questions/45329998

            QUESTION

            Permission is granted in settings but is being ignored
            Asked 2017-Jun-26 at 17:50

            On fresh install, when I click the button it will skip everything until

            ...

            ANSWER

            Answered 2017-Jun-26 at 17:50

            I have found a temporary solution if you just want your permissions to be recognised and do not need to request them in runtime. Right click on your app folder, and select "Open Module Settings". Go to "Flavors" tab and set "Target Sdk Version" to API 22. As far as I know this grants your permissions on installing and running the app. So far, it has worked fine with no drawbacks. I will update this if I have and problems.

            Source https://stackoverflow.com/questions/44441481

            QUESTION

            CustomDrawerLayout from four screen sides issue with Fling gesture and detection
            Asked 2017-May-24 at 11:25

            I am trying to create and improve existing SlidingDrawers projects that can work for all four sides of the screen {LEFT, RIGHT, TOP, BOTTOM}. There are a few libraries, however, they all have limitations, complications and bugs. One of the more common ones is umano's AndroidSlidingUpPanel, however, I do not like this library because you have to only include two child layouts, and also need to be mindful of a specific arrangement for main content to drawer. Other libraries are similar, or more complicated, or have bugs.

            I am close to completing my version of SlidingDrawers, I am focusing on BOTTOM gravity. I need some help with the fling gesture. Clicking on the drawer will open and close it. You can also slide the drawer with your finger. But if you fling the drawer, the entire view will shift higher than it should or lower than it should.

            How can I resolve this? As far as I can tell, my math is correct. The translation value I am passing to my animator should be right. Below is the work I have completed. Please checkout this project https://github.com/drxeno02/CustomDrawerLayout.git. Thank you in advance.

            For those of you who want to see a snippet of how the problematic code looks, here is how I am currently doing my gestures.

            ...

            ANSWER

            Answered 2017-May-23 at 09:21

            Seems that you should use the getTranslationFor function to calculate the new translation for the state.

            You currently taking into account only the Height and the offset, but from the getTranslationFor code it seems that you should consider also getLocationInYAxis.

            So, instead of this line:

            Source https://stackoverflow.com/questions/43265226

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install SlidingDrawer

            You can download it from GitHub.
            You can use SlidingDrawer like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the SlidingDrawer component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/dfqin/SlidingDrawer.git

          • CLI

            gh repo clone dfqin/SlidingDrawer

          • sshUrl

            git@github.com:dfqin/SlidingDrawer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link