Seleceted date text color is white how can i change it?

4 posts, 0 answers
  1. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 12 May 2015 Link to this post

    I am using Segmented decorator selection mode.Please check inside attachment. I need  to change selected date text color because calendar background is white and text color is also same.

  2. Antony Jekov
    Admin
    Antony Jekov avatar
    88 posts

    Posted 12 May 2015 Link to this post

    Hello Kumar,

    Thank you for contacting the Android team!

    You can set the selected date text color by using the calendar adapter as follows:
    calendarView.getAdapter().setSelectedCellTextColor(Color.RED);
    calendarView.getAdapter().setTodayCellSelectedTextColor(Color.BLUE);
    I hope this is what you are looking for. Let me know otherwise.

    Thank you for your time and all best!

    Regards,
    Antony Jekov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. DevCraft banner
  4. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 13 May 2015 in reply to Antony Jekov Link to this post

    Thanks @ANTONY
  5. Antony Jekov
    Admin
    Antony Jekov avatar
    88 posts

    Posted 13 May 2015 Link to this post

    Hi Kumar,

    You are very welcome! Happy coding!

    Regards,
    Antony Jekov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner