title: FLAG_LAYOUT_NO_LIMITS for customizing status bar makes navigation bar overlapping
body: <p>I searched for a solution to set a drawable for status bar and I found this :</p>
  
  <pre><code>    if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.KITKAT) {
          Window window = activity.getWindow();
          window.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
          window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
      }
  </code></pre>
  
  <p>This code works fine but it makes another problem too!
  If user's android device has bottom navigation buttons (software buttons) my layout goes behind it! of course this problem happens for top of my layouts too.
  <a href="https://i.stack.imgur.com/CMc33.jpg" rel="nofollow noreferrer">You can see it here</a></p>
  
  <p>Is there a way to have a customized status bar while there is no problem with other items overlapping my layout?</p>