diff --git a/android/app/src/main/java/app/organicmaps/widget/CustomTextInputLayout.java b/android/app/src/main/java/app/organicmaps/widget/CustomTextInputLayout.java
deleted file mode 100644
index bd1f3f606c..0000000000
--- a/android/app/src/main/java/app/organicmaps/widget/CustomTextInputLayout.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package app.organicmaps.widget;
-
-import android.content.Context;
-import android.graphics.Canvas;
-import android.text.TextUtils;
-import android.util.AttributeSet;
-
-import androidx.annotation.Nullable;
-import androidx.core.view.ViewCompat;
-
-import com.google.android.material.textfield.TextInputLayout;
-
-/**
- * Fixes bug mentioned here https://code.google.com/p/android/issues/detail?id=175228
- */
-public class CustomTextInputLayout extends TextInputLayout
-{
- private boolean mHintChanged = true;
-
- public CustomTextInputLayout(Context context)
- {
- super(context);
- }
-
- public CustomTextInputLayout(Context context, AttributeSet attrs)
- {
- super(context, attrs);
- }
-
- @Override
- protected void onDraw(Canvas canvas)
- {
- super.onDraw(canvas);
-
- if (mHintChanged && ViewCompat.isLaidOut(this))
- {
- // In case that hint is changed programmatically
- CharSequence currentEditTextHint = getEditText().getHint();
- if (!TextUtils.isEmpty(currentEditTextHint))
- setHint(currentEditTextHint);
- mHintChanged = false;
- }
- }
-
- @Override
- public void setHint(@Nullable CharSequence hint)
- {
- super.setHint(hint);
- mHintChanged = true;
- }
-}
diff --git a/android/app/src/main/res/layout-land/fragment_osm_login.xml b/android/app/src/main/res/layout-land/fragment_osm_login.xml
index 7b61beab80..4060e5cf3f 100644
--- a/android/app/src/main/res/layout-land/fragment_osm_login.xml
+++ b/android/app/src/main/res/layout-land/fragment_osm_login.xml
@@ -64,7 +64,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_half">
-
+ app:layout_constraintTop_toTopOf="parent"
+ app:endIconMode="custom">
-
-
+
-
+
-
-
+
-
-
+
diff --git a/android/app/src/main/res/layout/fragment_bookmark_category_settings.xml b/android/app/src/main/res/layout/fragment_bookmark_category_settings.xml
index 9fb174259a..d3b01fb1ca 100644
--- a/android/app/src/main/res/layout/fragment_bookmark_category_settings.xml
+++ b/android/app/src/main/res/layout/fragment_bookmark_category_settings.xml
@@ -34,7 +34,7 @@
android:id="@+id/edit_name_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
-
-
+
-
-
+
-
-
+
-
+ android:textColorHint="?android:textColorSecondary"
+ app:endIconMode="custom">
-
-
+
-
+