zawadz88/MaterialPopupMenu

Question: possible to drag to select?

Opened this issue · 4 comments

On the native framework, if you drag-touch from the overflow menu, you can still select an item.
This means a single touch is needed to show the popup till you select an item from it.

Is it possible to do it here too?
I've tested the sample, and it seems it doesn't work this way.

Hi @AndroidDeveloperLB,
TBH I haven't realized you can actually do that :)
It might have something to do with the OnClickListener being set in the sample app and not really with the library itself.
I'll check :)

I think I found that out on some article, when material design started to appear.

So I wasn't really able to make something similar with this library. If you (or anyone else) has an idea how to accomplish this it would be great hear :)
It would be a cool enhancement.

I have no idea.
It seems to have come on Android 4.4.4 (search for "Drag-to-Select") :
http://www.androidpolice.com/2013/11/16/getting-to-know-android-4-4-kitkat-edition-android-gets-cleaner-brighter-more-useful/#design-tidbits-and-other-stuff

Maybe ask about this on StackOverflow?