How to change the text color of other months' dates?
See original GitHub issueI have set a different color for date text using
<com.prolificinteractive.materialcalendarview.MaterialCalendarView
...
app:mcv_dateTextAppearance="@style/CalendarDateTextAppearance"
app:mcv_showOtherDates="other_months"/>
and the related style
<style name="CalendarDateTextAppearance" parent="Home">
<item name="android:textColor">@color/white</item>
<item name="android:textSize">14sp</item>
</style>
Therefore, all my date texts have the same color. I want my current month date texts to be white and other months’ date texts to be grey. How can I achieve this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Changing the color of the text in a cell after a certain date
Select the cell or cells you want to color. Black (Automatic) will be the default font color. On the Home tab of the...
Read more >Change color when date changes - YouTube
Bored with ZEBRA lines? You can use conditional formatting to create a crazy rule to change color whenever there is new date.
Read more >change text color on some dates in material calendarview
Add a custom text color on some specific days of months for example change text color of all Sunday to red. make a...
Read more >Changing the Date Text Color | WordPress.org
I'm trying to change the color of the dates, both the Month and year as well as the day, in the list view....
Read more >Change the color of text in Numbers on Mac - Apple Support
In the Format sidebar, click the Text tab, then click the Style button near the top of the sidebar. Text sidebar, showing how...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
R.style.Day
it’s a style with colors for month calendar days.Other days:
And my xml files using in these styles:
In my
Fragment
I create and add these decorators. Then, on everyOnMonthClick
I repaint my decorators.@quentin41500 Really appreciate your input here