Code Monkey home page Code Monkey logo

Comments (14)

tokudu avatar tokudu commented on August 27, 2024

Add clickable="true" to to the root view in your panel layout to catch the clicks.

from androidslidinguppanel.

nicolasjafelle avatar nicolasjafelle commented on August 27, 2024

This will not disable the setDragView() ?

from androidslidinguppanel.

tokudu avatar tokudu commented on August 27, 2024

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.

nicolasjafelle avatar nicolasjafelle commented on August 27, 2024

Great! I will try tomorrow at first time! Thanks!

from androidslidinguppanel.

nicolasjafelle avatar nicolasjafelle commented on August 27, 2024

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.

wuyexiong avatar wuyexiong commented on August 27, 2024
//final boolean interceptForDrag = mDragViewHit && mDragHelper.shouldInterceptTouchEvent(ev);
//        return interceptForDrag || interceptTap;
        return mDragHelper.shouldInterceptTouchEvent(ev);

I do this

from androidslidinguppanel.

tokudu avatar tokudu commented on August 27, 2024

@nicolasjafelle I'm gonna mark this as a bug for now.

from androidslidinguppanel.

nicolasjafelle avatar nicolasjafelle commented on August 27, 2024

@tokudu Sounds good to me! Thanks!

from androidslidinguppanel.

tanhs avatar tanhs commented on August 27, 2024

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.

apkelly avatar apkelly commented on August 27, 2024

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.

metacons avatar metacons commented on August 27, 2024

@wuyexiong you are great man, saved my time

from androidslidinguppanel.

tokudu avatar tokudu commented on August 27, 2024

Example was fixed in 5986bd3

from androidslidinguppanel.

azizimusa avatar azizimusa commented on August 27, 2024

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.

Ram8948 avatar Ram8948 commented on August 27, 2024

Hi. Im having the same problem. any solution?

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.