title: Android: On Single back key press soft keyboard should be hidden and activity should be finished as well, how to make it possible?
body: <p>I have one activity which has one EditText component and three buttons. Clicking on EditText Components pops a soft key board. </p>
  
  <p>I have received a bug stating on single Back Key press you should go to the previous activity. Currently only soft key board is hidden.</p>
  
  <p>How should I solve this issue?</p>
  
  <p>I have got suggestion that I should make a custom 'Text box'. But I can not figure out how can I do this. Or How can it solve my problem. </p>
  
  <p>Making a custom edit text or text box will solve this problem? If yes how?</p>
  
  <p><strong>EDIT:</strong> IF its impossible will you please tell me how its impossible?</p>
  
  <p><strong>Edit 2:</strong> None of the key listeners provided by api works in this case. If soft keyboard is shown pressing back button will hide the key board first... our implementation works only after that.</p>
  
  <p><strong>Edit 3:</strong> Anybody having any idea??????</p>