| Index: chrome/android/java/res/layout/eb_edit.xml
|
| diff --git a/chrome/android/java/res/layout/eb_edit.xml b/chrome/android/java/res/layout/eb_edit.xml
|
| index f60e169df3ffab1d7333a949a2c8b7733d89395e..5665c6508bd426f5ffeb2764be8802281e985122 100644
|
| --- a/chrome/android/java/res/layout/eb_edit.xml
|
| +++ b/chrome/android/java/res/layout/eb_edit.xml
|
| @@ -35,20 +35,22 @@
|
| android:layout_marginBottom="8dp"
|
| android:orientation="vertical" >
|
|
|
| - <org.chromium.chrome.browser.widget.FloatLabelLayout
|
| + <android.support.design.widget.TextInputLayout
|
| android:layout_width="match_parent"
|
| android:layout_height="wrap_content" >
|
|
|
| + <!-- android:text is set here is to avoid UI jumping. -->
|
| <org.chromium.chrome.browser.widget.EmptyAlertEditText
|
| android:id="@+id/title_text"
|
| android:layout_width="match_parent"
|
| android:layout_height="wrap_content"
|
| android:hint="@string/bookmark_name"
|
| + android:text="@string/bookmark_name"
|
| android:imeOptions="flagNoExtractUi"
|
| android:inputType="textCapSentences|textAutoCorrect"
|
| android:singleLine="true"
|
| chrome:alertMessage="@string/bookmark_missing_title" />
|
| - </org.chromium.chrome.browser.widget.FloatLabelLayout>
|
| + </android.support.design.widget.TextInputLayout>
|
|
|
| <TextView
|
| android:layout_width="wrap_content"
|
| @@ -70,7 +72,7 @@
|
| android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
| android:textColor="@color/dark_mode_tint" />
|
|
|
| - <org.chromium.chrome.browser.widget.FloatLabelLayout
|
| + <android.support.design.widget.TextInputLayout
|
| android:layout_width="match_parent"
|
| android:layout_height="wrap_content" >
|
|
|
| @@ -79,11 +81,12 @@
|
| android:layout_width="match_parent"
|
| android:layout_height="wrap_content"
|
| android:hint="@string/bookmark_url"
|
| + android:text="@string/bookmark_url"
|
| android:imeOptions="flagNoExtractUi"
|
| android:inputType="textUri"
|
| android:singleLine="true"
|
| chrome:alertMessage="@string/bookmark_missing_url" />
|
| - </org.chromium.chrome.browser.widget.FloatLabelLayout>
|
| + </android.support.design.widget.TextInputLayout>
|
| </LinearLayout>
|
| </ScrollView>
|
| </LinearLayout>
|
|
|