Sub Activity_KeyPress(KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
If pnlPlayAudio.Visible = True Then
MediaPlayer1.Stop
timerAudio.Enabled = False
pnlPlayAudio.Visible = False
End If
If vv.IsPlaying = True Then
vv.stop
vv.RemoveView
End If
If pnlPlayAudio.Visible = False And vv.IsPlaying = False Then
Activity.Finish
End If
Else
End If
Return True
End Sub