[Solved] Change Galaxy S8 Navigation Bar Color Programmatically


You problem is solved in Lollipop and above,

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        Window window = getWindow();
    window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
    window.setNavigationBarColor(Color.YOUR_COLOR);
}

1

solved Change Galaxy S8 Navigation Bar Color Programmatically