From 797ebe64a2c1164842f022c74d1f53f76ffcd384 Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Fri, 9 Aug 2024 10:39:54 +0200 Subject: [PATCH] Also handle error icon's end padding in EndIconTextInputLayout --- .../java/com/infomaniak/lib/core/views/EndIconTextInputLayout.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/infomaniak/lib/core/views/EndIconTextInputLayout.kt b/src/main/java/com/infomaniak/lib/core/views/EndIconTextInputLayout.kt index 8201b21a..7a655e1f 100644 --- a/src/main/java/com/infomaniak/lib/core/views/EndIconTextInputLayout.kt +++ b/src/main/java/com/infomaniak/lib/core/views/EndIconTextInputLayout.kt @@ -40,6 +40,7 @@ class EndIconTextInputLayout @JvmOverloads constructor( resources.getDimensionPixelSize(RCore.dimen.marginStandardMedium), ) findViewById(R.id.text_input_end_icon)?.setPadding(padding) + findViewById(R.id.text_input_error_icon)?.setPadding(padding) } } }