<div dir="ltr"><div><div>Hi Geoffrey,<br><br></div>Thanks for asking. Now, I see room for improvement in a subsequent patch I sent during the past weekend. I'll apply the improvement in a future contribution.<br><br></div><div>Here, I'll address your question.<br></div><div><div><div><div><div><br>>>> Why don't you return <b>true</b> when the KeyEvent is handled?<br><br></div><div>Technically the dcb096606f3fd4a4a428c2ead70138eb7a644548 commit allows the MainActivity, onKeyDown to track the view ID with present focus within mFocusedPrior variable. Would the MainActivity onKeyDown event handler be triggered if keyListener returned true ?<br><br></div></div><div>Architecturally, mFocusedPrior offers some value as an indicator of a past onKey event. Before MainActivity calls mRootContainer.closeDrawer if mFocusedPrior != 0 MainActivity transfers focus to the ActionBar. <br><br></div>Regards,<br><br></div>Mik<br></div></div></div>