SegmentBackgroundColor not working

5 posts, 1 answers
  1. Ian
    Ian avatar
    68 posts
    Member since:
    Jul 2017

    Posted 10 Feb 2020 Link to this post

    I'm setting SegmentBackgroundColor to orange but the background is grey. Is this broken?
  2. Ian
    Ian avatar
    68 posts
    Member since:
    Jul 2017

    Posted 10 Feb 2020 in reply to Ian Link to this post

    This is on iOS 13 using 2020.1.114.1.
  3. Didi
    Admin
    Didi avatar
    356 posts

    Posted 11 Feb 2020 Link to this post

    Hi Ian,

    I have tested the scenario on my side but I cannot reproduce the issue with the SegmentedControl background color - refer to the attached image. I have tested on iOS 13.3 with the latest version of Telerik UI for Xamarin.

    Next steps:

    Could you please open a support ticket and attach a sample repro project. In this way I could research the case further.

    Regards,
    Didi
    Progress 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
  4. Ian
    Ian avatar
    68 posts
    Member since:
    Jul 2017

    Posted 23 Feb 2020 in reply to Didi Link to this post

    Is that the correct red?

    I can change the background colour but it seems darker than it should be.

    Setting the surrounding view to the same colour reveals the contrast.

  5. Answer
    Didi
    Admin
    Didi avatar
    356 posts

    Posted 24 Feb 2020 Link to this post

    Hi Ian,

    The reason behind this behavior comes from the native iOS segmented control. This is how the native control behaves for this version of the iOS. 

    Let me know if I can assist with anything else.

    Regards,
    Didi
    Progress 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