diff --git a/android/res/layout/fragment_bookmark_category_restriction.xml b/android/res/layout/fragment_bookmark_category_restriction.xml index 39be5a0569..1373118675 100644 --- a/android/res/layout/fragment_bookmark_category_restriction.xml +++ b/android/res/layout/fragment_bookmark_category_restriction.xml @@ -34,6 +34,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> diff --git a/android/src/com/mapswithme/maps/ugc/routes/BaseEditUserBookmarkCategoryFragment.java b/android/src/com/mapswithme/maps/ugc/routes/BaseEditUserBookmarkCategoryFragment.java index 7bf8dbc284..3fc9182ee1 100644 --- a/android/src/com/mapswithme/maps/ugc/routes/BaseEditUserBookmarkCategoryFragment.java +++ b/android/src/com/mapswithme/maps/ugc/routes/BaseEditUserBookmarkCategoryFragment.java @@ -6,6 +6,7 @@ import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.StringRes; +import android.support.design.widget.TextInputLayout; import android.text.Editable; import android.text.InputFilter; import android.text.TextWatcher; @@ -70,7 +71,8 @@ public abstract class BaseEditUserBookmarkCategoryFragment extends BaseMwmToolba setHasOptionsMenu(true); mEditText = root.findViewById(R.id.edit_text_field); InputFilter[] inputFilters = { new InputFilter.LengthFilter(mTextLimit) }; - mEditText.setHint(getHintText()); + TextInputLayout editTextContainer = root.findViewById(R.id.edit_text_container); + editTextContainer.setHint(getString(getHintText())); mEditText.setFilters(inputFilters); mEditText.setText(getEditableText()); mEditText.addTextChangedListener(new TextRestrictionWatcher());