Navigation bar becomes transparent when keyboard opened
<p>Here is how it looks.
<a href="https://i.stack.imgur.com/nnXTT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nnXTT.png" alt="transparent navigation bar"></a></p>

<p>And here are details.
I have activity without background. But it's not an issue. Neither setting background drawable or colour in theme or code fixed an issue.</p>

<p>Activity has soft input mode <code>adjustPan|stateAlwaysHidden</code></p>

<p>I also set those flags for activity's decor view in code</p>

<pre><code>View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
        | View.SYSTEM_UI_FLAG_FULLSCREEN
        | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
        | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
        | View.SYSTEM_UI_FLAG_LAYOUT_STABLE
        | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
</code></pre>

<p>I tried explicitly set colour to navigation bar in theme like this</p>

<pre><code>&lt;item name="android:navigationBarColor" tools:targetApi="lollipop"&gt;@color/chat_bg&lt;/item&gt;
&lt;item name="android:windowDrawsSystemBarBackgrounds" tools:targetApi="lollipop"&gt;true&lt;/item&gt;
</code></pre>

<p>But had no success(</p>

<p>I can reproduce it only on my LG Nexus 5X. On other devices I tried navigation bar appears filled with color.</p>