Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitle text color merges with title text color #267

Open
IonutNegru87 opened this issue Oct 22, 2021 · 1 comment
Open

Subtitle text color merges with title text color #267

IonutNegru87 opened this issue Oct 22, 2021 · 1 comment
Labels
bug Something isn't working needs info Further information is required to understand the issue

Comments

@IonutNegru87
Copy link

Describe the bug
Setting a subtitle with SpannableString using ForegroundColorSpan applies the same color to the title also.

To Reproduce
Set a color for the title using eventTextColor in xml.
Set subtitle using WeekViewEntity in onCreateEntity.
For the subtitle CharSequence use a SpannableString with a color for the text.

Expected behavior
The title should keep the color set in xml via eventTextColor property.

Additional context

  • Android version: All versions
  • WeekView version: [e.g. 5.3.2]
@IonutNegru87 IonutNegru87 added the bug Something isn't working label Oct 22, 2021
@thellmund
Copy link
Owner

👋 Can you create a sample repository that shows the issue? I can’t reproduce it myself.

@thellmund thellmund added the needs info Further information is required to understand the issue label Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info Further information is required to understand the issue
Projects
None yet
Development

No branches or pull requests

2 participants