How to change segmentedBar selected tabview indicator color in Nativescript angular for android

577 views Asked by At

I am developing a cross-platform application using native-script angular. In Android, I face the issue in the selected indicator colour in the segmented bar. Anyone Knows how to change the selected indicator colour in the segmented bar. It shows the default color blue.

<SegmentedBar #tabs [items]="myItems" selectedIndex="0" (selectedIndexChange)="onSelectedIndexChange(tabs.selectedIndex)" class="m-5" selectedBackgroundColor="gray" ></SegmentedBar>
1

There are 1 answers

0
Raj On

In the Segemented bar add the property selectedBackgroundColor="gray"