I've been using ExitApplication, and it seems to work, but I can see where an Activity.Finish might be cleaner.
Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
.
.
' If pnlPatientType.Visible = True Then
ExitApplication
End If