Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Button colour cannot be changed

See original GitHub issue

I try to change the button color in android.


customCSS: '.button { background-color: #2868be;}'


buttonBackgroundColor: '#2868be',

are not working. What’s the problem? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

jsaleighcommented, Jun 14, 2016

Hey @zanemcca, thanks for finding that. We’ll try to get a fix for that in a build as soon as we can, but I’m afraid I don’t have a timeline for it just yet.

zeeshabnccommented, Sep 21, 2016

Hi @jgrasl. I am glad you found a work around for this issue. I am going to close this issue out for now, but feel free to open it up if you are still facing an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Button background color not changing - Stack Overflow
my button in a fragment. it changes (also on my device) so the custom style is loading, i tryd different colors (that worked...
Read more >
How to Change the Background Color of Button in Android ...
Step 1: Create a New Project · Step 2: Working with the activity_main.xml file · Step 3: Add a resource directory named as...
Read more >
Change maui button background color at runtime
Sometimes Button color setting could appear problematic if there are App-wide style definitions (possibly automatically generated on App ...
Read more >
Cannot set Button background color in Android Studio
I got the onClick to work. I didn't have the word android: to the left of onClick - silly me. But I still...
Read more >
I can't figure out why the buttons won't change colors. (Example)
I cant figure out why the buttons won't change background colors. Any help is appreciated. /* Attribute Selectors ------------- */ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found