Giter VIP home page Giter VIP logo

martinrajniak / bottombardrawer Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 13.0 484 KB

BottomBarDrawerLayout acts as a top-level container for window content that allows for interactive "drawer" view to be pulled out from the bottom edge of the window. This version of drawer is working with always visible part of the drawer that serves as bar that when dragged or touched performs open/close operation.

Java 100.00%

bottombardrawer's Introduction

Hi there ๐Ÿ‘‹

I'm Martin Rajniak working remotely from Poprad, Slovakia.

I have worked for 9 years as Android developer (5 of those leading people).
Passion for developer productivity and tooling (lead mobile CD initiative).

I'm currently trying to get better in any of these:

  • ComposeUI
  • iOS + Swift UI
  • Kotlin Multiplatform
  • (Kotlin) Backend development

MartinRajniak's GitHub stats

bottombardrawer's People

Contributors

martinrajniak 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bottombardrawer's Issues

How to set maximum scrollable height

Hi,

I'm looking for a method or just an answer to how to modify the library to set a maximum scrollable height for my bottom drawer. I want to stop the event move if Y is about 200. offset doesnt help me, I don"t know if anyone knows how to do this.

Thanks.

Question: How do I limit the height of the bottom drawer (not the handle but the content)?

Hi,

I'd like to limit the height of the bottom drawer so that when I drag it upwards it only covers the bottom 1/2 of the screen. How do I prevent it from going to the full height of the screen?

Also, I modified the example to remove the code that hides the actionbar when the offset is > 0.8. Is there a way to prevent the bottom bar handle from disappearing under the action bar, and have it rest underneath?

Thanks,

Andy.

Dissallow intercept of touch events only for childs with scrolling views with the same direction of drag

In the end it seems only reasonable to not intercept touch events other then those that originated in the bottom bar area.

So now the behaviour is the same as in Google Music App. When list view is supplied as one of the children it will take the touch event, but if no child will take up the touch event, then the drag will be possible also on non bottom bar region.

This still needs some work to be done, because as it is now, if any child will take the touch event, then drag on that child won't be possible. What we want to accomplish is to dissallow drag only on scroller child views.

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.