title: how change navigation bar color?
body: <p>I want a status bar translucent and navigation bar other color not translucent like blue or white</p>
  
  <p>My code </p>
  
  <pre><code> &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;!-- Customize your theme here. --&gt;
          &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
          &lt;item name="android:statusBarColor"&gt;@android:color/transparent&lt;/item&gt;
          &lt;item name="android:navigationBarColor"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>Activity</p>
  
  <pre><code> if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.N) {
              Window w = getWindow();
              w.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
          } 
  </code></pre>
  
  <p>the status bar translucent good but the navigation bar no change color . why ?</p>
  
  <p><a href="https://i.stack.imgur.com/SKFV6.jpg" rel="noreferrer">navigation bar</a></p>