skydoves / PowerMenu

:fire: Powerful and modernized popup menu with fully customizable animations.
Apache License 2.0
1.19k stars 175 forks source link

Show selected item without dimming it to background #77

Closed WenLonG12345 closed 3 years ago

WenLonG12345 commented 3 years ago

Hi, want to ask is anyone have idea how to show the item within recyclerview without dimming it?

image

Expected: image

skydoves commented 3 years ago

Hi, do you mean this function?

.setShowBackground(false)
WenLonG12345 commented 3 years ago

Hi, not really. You can see from telegram, when user select one of the item from recyclerview, the selected item is highlighted and overall background is dimmed. Or maybe you have any idea how can I archived this effect?

skydoves commented 3 years ago

Ah, do you mean this kind of highlighting?

https://user-images.githubusercontent.com/24237865/96139358-c524ae00-0f39-11eb-82ff-90a4a734e076.gif

WenLonG12345 commented 3 years ago

@skydoves Yes! sorry for my poor representation haha. How can I archived this effect in this libarry without using Balloon ?

Or, maybe I should use Balloon instead of PowerMenu ?

skydoves commented 3 years ago

I see! The feature should be implemented newly. I will consider implementing it or your Pull-Request is also welcome. Balloon can implement everything that can be implemented using PowerMenu. It is your choice!

WenLonG12345 commented 3 years ago

Oh it is a feature request. But I am not sure I have enough experience to do such a pull-request haha. I think I will be implementing a custom view in Balloon and show it like telegram. Going to try now. Thanks! :)

skydoves commented 3 years ago

Great :) If you get another issue, please report it!