Fix library update on textInputLayout
This commit is contained in:
@@ -289,6 +289,7 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
||||
private void setError(TextInputLayout textInputLayout, String message) {
|
||||
textInputLayout.setErrorEnabled(true);
|
||||
textInputLayout.setError(message);
|
||||
textInputLayout.setErrorIconDrawable(null);
|
||||
}
|
||||
|
||||
private void resetAllError() {
|
||||
|
||||
@@ -135,6 +135,7 @@ public class DialogAskLivelloPosizione {
|
||||
private void setLevelError(String message){
|
||||
livelloTextInputLayout.setErrorEnabled(true);
|
||||
livelloTextInputLayout.setError(message);
|
||||
livelloTextInputLayout.setErrorIconDrawable(null);
|
||||
}
|
||||
|
||||
private void resetLevelError() {
|
||||
|
||||
@@ -113,6 +113,7 @@ public class DialogAskCliente_Page1ViewModel implements IDialogAskClienteViewMod
|
||||
private void setClienteError(String message){
|
||||
mBinding.inputCliente.setErrorEnabled(true);
|
||||
mBinding.inputCliente.setError(message);
|
||||
mBinding.inputCliente.setErrorIconDrawable(null);
|
||||
}
|
||||
private void resetClienteError() {
|
||||
mBinding.inputCliente.setError(null);
|
||||
|
||||
@@ -117,6 +117,7 @@ public class DialogAskCliente_Page2ViewModel implements IDialogAskClienteViewMod
|
||||
private void setClienteError(String message){
|
||||
mBinding.inputDestinatario.setErrorEnabled(true);
|
||||
mBinding.inputDestinatario.setError(message);
|
||||
mBinding.inputDestinatario.setErrorIconDrawable(null);
|
||||
}
|
||||
private void resetClienteError() {
|
||||
mBinding.inputDestinatario.setError(null);
|
||||
|
||||
@@ -237,6 +237,7 @@ public class DialogAskPositionOfLU {
|
||||
private void setLevelError(String message){
|
||||
livelloTextInputLayout.setErrorEnabled(true);
|
||||
livelloTextInputLayout.setError(message);
|
||||
livelloTextInputLayout.setErrorIconDrawable(null);
|
||||
}
|
||||
|
||||
private void resetLevelError() {
|
||||
|
||||
@@ -606,6 +606,7 @@ public class DialogInputQuantity {
|
||||
textInputLayout.setError(" ");
|
||||
textInputLayout.getEditText().setTextColor(ContextCompat.getColor(currentContext, R.color.red_600));
|
||||
textInputLayout.setHintTextAppearance(R.style.ErrorFloatingLabel);
|
||||
textInputLayout.setErrorIconDrawable(null);
|
||||
|
||||
if (textInputLayout.getChildCount() == 2) {
|
||||
textInputLayout.getChildAt(1).setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user