title: Set Error Android
body: <p>Can anybody tell me how to use setError function appropirately for CheckBoxes and RadioButtons. I am able to raise the error icon symbol (!) after my textView but cannot see the error message . As per Android's documentation :
  <br><em><code>sets the right-hand compound drawable of the TextView to the "error" icon and sets an error message that will be displayed in a popup when the TextView has focus. The icon and error message will be reset to null when any key events cause changes to the TextView's text. If the error is null, the error message and icon will be cleared.</code></em> <br> <strong>Can you someone provide an example of the proper implementation of setError in case of checkbox aand radioButton?</strong>
  <br><br> Here is my code -</p>
  
  <pre><code>CheckBox box=(CheckBox)findViewById(R.id.propertyStatus1);
  box.setError("Error");
  </code></pre>