title: Why are there 2 setFocusable methods in Android?
body: <p>I was trying to set the focusability of a component and found these two methods, hoping I could use them to make the component only focusable when the user touches it, not when requested programmatically:</p>
  
  <pre><code>myComponent.setFocusable(false);
  myComponent.setFocusableInTouchMode(true);
  </code></pre>
  
  <p>Then I looked at <a href="http://developer.android.com/reference/android/view/View.html#setFocusable(boolean)" rel="nofollow">their documentation</a>:</p>
  
  <blockquote>
    <p>public void <strong>setFocusable (boolean focusable)</strong></p>
    
    <p>Set whether this view can receive the focus. <strong>Setting this to false will also ensure that this view is not focusable in touch mode.</strong></p>
  </blockquote>
  
  <p><br/></p>
  
  <blockquote>
    <p>public void <strong>setFocusableInTouchMode (boolean focusableInTouchMode)</strong></p>
    
    <p>Set whether this view can receive focus while in touch mode. <strong>Setting this to true will also ensure that this view is focusable.</strong></p>
  </blockquote>
  
  <p>So, if calling either one implicitly calls the other, <strong>why make the distinction?</strong></p>