-1

I need help in changing the text color of Xamarin app in the status Bar because when Changing the status bar color to white the text color stays white, thus not appearing.

enter image description here

Amjad S.
  • 1,196
  • 1
  • 4
  • 16

1 Answers1

1

Use the following code in style.xml when you change status bar color .

<item name="android:windowLightStatusBar">true</item>

This makes the text will always appear whatever the background color is .

enter image description here

Refer to

Change status bar text color when primaryDark is white.

ColeX
  • 14,062
  • 5
  • 43
  • 240