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.
Asked
Active
Viewed 211 times
-1
-
please post the relevant code – Jason Dec 30 '21 at 16:48
-
Your question has an iOS tag so why does your image show an Android emulator? – matt Dec 30 '21 at 18:06
-
Because i am running the application on android emulator. -matt – Amjad S. Dec 31 '21 at 08:09
-
I am asking for the relevant code -Jason – Amjad S. Dec 31 '21 at 08:10
1 Answers
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 .
Refer to

ColeX
- 14,062
- 5
- 43
- 240