Comments (14)
Add clickable="true"
to to the root view in your panel layout to catch the clicks.
from androidslidinguppanel.
This will not disable the setDragView() ?
from androidslidinguppanel.
No, i don't believe so. Let me know if i'm wrong :)
On Tue, Jul 23, 2013 at 3:41 PM, Nicolas Jafelle
[email protected]:
This will not disable the setDragView() ?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-21451686
.
from androidslidinguppanel.
Great! I will try tomorrow at first time! Thanks!
from androidslidinguppanel.
Well... the android:clickable prevents the EditText focus and keyboard but not prevents the button onClick. What do you think? Should we fix this behaviour? We can prevent the button on click by setting the button not clickable or disable.
from androidslidinguppanel.
//final boolean interceptForDrag = mDragViewHit && mDragHelper.shouldInterceptTouchEvent(ev);
// return interceptForDrag || interceptTap;
return mDragHelper.shouldInterceptTouchEvent(ev);
I do this
from androidslidinguppanel.
@nicolasjafelle I'm gonna mark this as a bug for now.
from androidslidinguppanel.
@tokudu Sounds good to me! Thanks!
from androidslidinguppanel.
Can someone showing a working example? I tried clickable its not working, where as setdragview, I don't know what view to set. Thanks.
from androidslidinguppanel.
Is there a way to prevent pinch and double taps too, I have a MapFragment sitting under my sliding layout and it receives theses events when I don't want it to.
Thanks.
from androidslidinguppanel.
@wuyexiong you are great man, saved my time
from androidslidinguppanel.
Example was fixed in 5986bd3
from androidslidinguppanel.
Hi. Im having the same problem. setting .setTouchEnabled(false)
make android soft keyboard not appear when tap on edittext. I want both feature.
from androidslidinguppanel.
Hi. Im having the same problem. any solution?
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.