MaterialPopupMenu icon indicating copy to clipboard operation
MaterialPopupMenu copied to clipboard

Question: possible to drag to select?

Open AndroidDeveloperLB opened this issue 6 years ago • 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.

AndroidDeveloperLB avatar Jan 29 '18 08:01 AndroidDeveloperLB

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 :)

zawadz88 avatar Jan 29 '18 09:01 zawadz88

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

AndroidDeveloperLB avatar Jan 29 '18 09:01 AndroidDeveloperLB

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.

zawadz88 avatar Jan 30 '18 17:01 zawadz88

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?

AndroidDeveloperLB avatar Jan 30 '18 17:01 AndroidDeveloperLB