Please take a look at my online project I created in snack https://snack.expo.dev/@sujono/7c4a2d?platform=android .
So in Role2.js I did set the values but the result isn't what i expected. This is so weird. I even tried it locally, but it still didn't work. Can't I change the style of react native header? If I can, please tell me how to do it.
You can create your header component that you can use across your application. Styling and other events can be handled inside this header. Also ensure you set headerShown to false in your navigators so the default react navigation header is hidden