Explicitly set navigation bar color

This commit is contained in:
M66B 2024-05-28 14:19:43 +02:00
parent 7a6d9dcab1
commit e52995beb2
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
WindowInsetsControllerCompat controller = WindowCompat.getInsetsController(window, window.getDecorView());
controller.setAppearanceLightStatusBars(false);
controller.setAppearanceLightNavigationBars(false);
window.setNavigationBarColor(ColorUtils.setAlphaComponent(colorPrimaryDark, 128));
}
String requestKey = getRequestKey();