Comments (7)
Have a look at the example. It shows how to accomplish what you want.
from androidslidinguppanel.
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.
I'm not sure I understand what you mean by the layout getting squished. Can you post a screenshot?
from androidslidinguppanel.
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.
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.
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.
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)
- Cause: org/gradle/api/tasks/testing/AbstractTestTask
- java.lang.IllegalArgumentException happened occasionally
- Very Good HOT 1
- Scroll RecyclerView when panel is at Anchored Point HOT 2
- Slideable view - margin left and right
- Question: Is there an easy way to dismiss panel when user taps on main content? HOT 1
- DrawerLayout with SlidingUpPanel doesn't fit system windows HOT 1
- Ridiculous bug. Panel refuses to expand!
- default grey line on top of sliding panel which needs to expand or collapsed HOT 1
- 🔴🔴🔴 IMP Repo seems dead, New commits at https://github.com/hannesa2/AndroidSlidingUpPanel/
- Black space between main and draggable content on new Samsung devices
- mLastMotionY 数组越界问题
- Change position of a specific view in SlidingUpPanel Layout. HOT 1
- Rounded Corners at the top
- SlidingUpPanel with BottomNavigation Help ....
- never recalculate the layout height after replace it programmatically
- com.sothree.slidinguppanel.SlidingUpPanelLayout.onMeasure (SlidingUpPanelLayout.java:803)
- Build Analyzer found problems for update to AndroidX (Jetifier)
- Avoid panel collapsewhen click in screen. HOT 2
- Drawable drawable/above_shadow has unresolved theme attributes! Consider using Resources.getDrawable(int, Theme) or Context.getDrawable(int). HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidslidinguppanel.