I have a question. I would like to push a button on the layout created in Android Studio, I could lock the buttons of the phone (volume and on / off). And that he only came back to normal, after I pressed another button on the screen or typed a code. can anybody help me? Many thanks!
I'm using Android Studio 3.1.3