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

How to change the color of action programmatically #14

Open
philxws692 opened this issue May 19, 2020 · 0 comments
Open

How to change the color of action programmatically #14

philxws692 opened this issue May 19, 2020 · 0 comments

Comments

@philxws692
Copy link

Hello,
it's not really an issue it's more a question, because I didnn't find a way to change the color of the action button.
I want to do an application which connects to a bluetooth device, and when it's disconnected the button should show "connect" with green background and when it's connected it should show "disconnect" with red background.
I could change the action text so far so good.
But how do I change the background color programmatically?

Greetings
Philipp

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

No branches or pull requests

1 participant