Open zapotec83 opened 10 years ago
I realized now what's the problem. But.......I don't know how to solve it! Lol! The point is that the width of the message is the width of the EditText which has the problem minus the cursor. Do you know how to solve this?? Why is it taking the width from the EditText instead of from the parent view?
Once more time, thanks a lot for the collaboration with open source code!
@zapotec83 my solution : set your_edit_text_view.requestFocus(); before your_edit_text_view.setError(message);
Hello, I am having a problem with the orientation on the DialogFragment objects when using the library with the EditTextWithCustomError to set an error.
This is the xml I am inflating : <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res/es.redsys.miupay" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" >
The Dialog is just doing this:
And this is what is showing the error:
As you can see, instead of showing the message on horizontal orientation, it is showing it on vertical orientation.
Do you know why there is such a problem with the orientation??
BTW, thanks a lot!! Your library is really amazing!!