How to disable navigation bar for my android app
<p>I want to disable navigationbar for my android app.
When my application open home button and recent app button disable.</p>

<p>How can I disable button when app is running?</p>

<p>Like pattern lock app, in this app when open lock screen disable all button.</p>