Hello,
You can do it by adding following code to change the icon color to light black(like grey) in OnCreate
method, but you cannot change it to purity black.
WindowInsetsControllerCompat windowInsetController = WindowCompat.GetInsetsController(Window, Window.DecorView);
windowInsetController.AppearanceLightNavigationBars = true;
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.