We can set error in Edittext successfully but failed to set in textview. is there any problem?? i tried
((TextView) findViewById(R.id.df)).requestFocus(); ((
Actually , you can use the setError for the textView and show its popup .
You just need to use the same style as of the EditText .
Simply add the next attribute for the textView in the xml :
style="@android:style/Widget.EditText"