Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

ListView ContextMenu Active ViewCell Color #15

Open
ChaseFlorell opened this issue Apr 13, 2017 · 1 comment
Open

ListView ContextMenu Active ViewCell Color #15

ChaseFlorell opened this issue Apr 13, 2017 · 1 comment

Comments

@ChaseFlorell
Copy link

ChaseFlorell commented Apr 13, 2017

This is mainly for Android, but can probably be translated to other platforms as well.

If I add xfGloss:CellGloss.BackgroundColor="White" to a ViewCell, I get the benefit of having a different color background from the parent ListView, however I lose the selected color when I long-press the view cell in order to bring up the Android ContextMenu.

Is there any way to set the background color AND have a separate color when the context menu is active?

I can see this being useful on iOS too, however it's more likely that the background will stay the same color when the view cell is swiped to reveal the context menu.

Proposed API

xfGloss:CellGloss.ContextMenuActiveBackgroundColor="#xxx"

And this color would be set for the active view cell when the Context Menu is open.

note: I'm not actually sure what the name should be, color states on Android are a pita

@ChaseFlorell ChaseFlorell changed the title ListView ContextMenu Color ListView ContextMenu Active ViewCell Color Apr 13, 2017
@tbaggett
Copy link
Owner

tbaggett commented Aug 2, 2017

Hey @ChaseFlorell, sorry it has taken so long to reply. I will look into getting this done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants