i am trying to make the segments on ios look the same way as they look on android. refer https://beta.ionicframework.com/docs/api/segment
i tried to play with the css properties like
segment-button-checked {
--background-checked: transparent !important;
--color-checked: white !important;
border-bottom: 1 px solid white
}
ion-segment-button {
--color: #8CA2A5;
--border-color: transparent !important
}
selected button properties does not work this way. and overall visually does not look very nice as it looks on adroid
EDIT: Ionic 4 solution
Set the segment height to match header height
Style segment button with color for the un-active segment.
Remove border and border-radius.
.segment-button-checked class is used to style active state of segment.
Original segment button:

After styling:
