Snackbar coming below the software buttons in Marshmallow
<p>My Snackbar coming below the software buttons in Marshmallow:</p>

<p><img src="https://i.stack.imgur.com/3zsFDm.jpg" alt="Screenshot"></p>

<p>I have tried changing the view, but it is not helping.</p>