Double tap physical button on android
<p>I am currently developing an android app. I have an activity which calls a web view activity. When the user presses the back button once it will go to the history of the webview, when the user double taps the back button I want the webview activity to finish.</p>

<p>How can I go about checking for a double tap of the back button</p>
