question-mark
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.

Color applied incorrectly

See original GitHub issue

While implementing and testing around, I found out that sometimes colors are applied incorrectly and it required clear app data to reset it. Sometimes force stop app will help, sometimes it require clear app data.

Noticed that the color accent applied to TextView/CardView/ActionBar title where it shouldn’t.

Tested on: normal device and emulator, android 9.0 and 8.0 with v1.0.1 library

Comparing the “normal” pref xml (com.jaredrummler.cyanea) and “incorrect” xml, found out accent_light and accent_dark values is different.

Not sure is related to pref commit is having race condition or the activity recreated and wrong color applied.

I decided to test on the demo app that downloaded directly from here, which also the same results.

image

image

Video: https://file.io/GEztLq or https://upload.cat/88665821462cd5ed

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
xDragonZcommented, Mar 9, 2019

@jaredrummler it will be great if you can tag current changes to new version (1.0.2) and release it.

3reactions
jaredrummlercommented, Dec 12, 2018

I was able to reproduce. I think this has to do with the accent color being the same as the primary text color. Will do more investigating and fix this when I have time later this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

8 common mistakes when working with color and how to fix ...
8 common mistakes when working with color and how to fix them · 1. Working with an old or cheap monitor · 2....
Read more >
What To Do When You've Chosen The Wrong Paint Colour
Then try painting another patch of the room to see if the colour has improved. Also, don't discount the colour after applying just...
Read more >
How To Fix Hair Dye Gone Wrong - Colour correction
Expert tips on how to correct a hair colour gone wrong, from orange ... Ask for ashy, cool colours and avoid shades like...
Read more >
Everything You Know About Color Is (Probably) Wrong
ECG Animator David Hixon discusses common color misconceptions and breaks down the basics of color theory in this blog post.
Read more >
How to Correct a Paint Color Mistake - Home Guides
Therefore, applying a faux technique -- using the existing color as a base color -- allows you to subtly alter the finished effect....
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found