I am trying to show error when wrong value is inserted in edittext, below is my xml file
<EditText
android:id="@+id/BasicInfoDOBEditText"
android:onClick="onCalenderClick"
style="@style/TableRowSearchResultView"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:focusable="false"
android:inputType="date" />
and how i am trying to show error is like this.
dateEditText.setFocusable(true);
dateEditText.requestFocus();
dateEditText.setError("wrong input");
but it shows only error icon in edittext without "wrong input". I know there is some solution like extends EditText and override setError(), But is there some simple solution to it or i am doing something in wrong way. Please help !