This is a migrated thread and some comments may be shown as answers.

SegmentBackgroundColor not working

4 Answers 41 Views
SegmentedControl
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 10 Feb 2020, 11:00 PM
I'm setting SegmentBackgroundColor to orange but the background is grey. Is this broken?

4 Answers, 1 is accepted

Sort by
0
Ian
Top achievements
Rank 1
answered on 10 Feb 2020, 11:01 PM
This is on iOS 13 using 2020.1.114.1.
0
Didi
Telerik team
answered on 11 Feb 2020, 01:15 PM

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
0
Ian
Top achievements
Rank 1
answered on 23 Feb 2020, 08:50 PM

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.

0
Accepted
Didi
Telerik team
answered on 24 Feb 2020, 12:58 PM

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
Tags
SegmentedControl
Asked by
Ian
Top achievements
Rank 1
Answers by
Ian
Top achievements
Rank 1
Didi
Telerik team
Share this question
or