Code Monkey home page Code Monkey logo

Comments (7)

tokudu avatar tokudu commented on June 22, 2024

Have a look at the example. It shows how to accomplish what you want.

from androidslidinguppanel.

adfleshner avatar adfleshner commented on June 22, 2024

I have looked at the example line by line and there is nothing currently in that project. in the java file or the xml file that specifies how to overlay the SlideUpPanel I already have the actionbar as an overlay and it works amazingly but when I showPane() and hidePane() the layout is squished and expanded. Again I am not talking about the actionbar, I am talking about the pane that you created when that shows and hides. Its fine if its not built in just if it is please help me find where this code actually is. PS I am using a map.

Thank you for your time and your work its great.

from androidslidinguppanel.

tokudu avatar tokudu commented on June 22, 2024

I'm not sure I understand what you mean by the layout getting squished. Can you post a screenshot?

from androidslidinguppanel.

adfleshner avatar adfleshner commented on June 22, 2024

https://www.youtube.com/watch?v=5iw8X6iUILk here is a video about the jumpy squish and expand I am talking about. And what I am curious about is if it is possible to do that they did with google maps where it acts like the action bar and just appears without the map view moving

from androidslidinguppanel.

tokudu avatar tokudu commented on June 22, 2024

ohhh, now I get it. Yeah, unfortunately, smooth animation for show/hide hasn't been implemented yet. It shouldn't be that hard to do tho. Have a a look at the mSlideRange parameter.

Anton

from androidslidinguppanel.

AnujAroshA avatar AnujAroshA commented on June 22, 2024

Hi guys, @adfleshner , @tokudu

I think I did it. Just comment 495 line in (https://github.com/umano/AndroidSlidingUpPanel/blob/master/library/src/com/sothree/slidinguppanel/SlidingUpPanelLayout.java) which is;

height -= panelHeight;

and you are good to go. But you will get possible drawback when you use Google Maps zoom-in zoom-out buttons if you use them. That is, the sliding up drawer will cover those buttons. But in real Google Maps it wont happen.

from androidslidinguppanel.

adfleshner avatar adfleshner commented on June 22, 2024

I just tried it out and it worked beautifully. I'll be looking to add at adding custom animations shortly ( but that was what I was looking for ) I can see why it was written the other way for lists and such but for maps I honestly believe this is more correct. Thanks @AnujAroshA

from androidslidinguppanel.

Related Issues (20)

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.