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 00be737332f59fb0bb3c0c7e5200084925d6f3da..3b4cb1e9e58cc4b429a17d5ed8ef3e2749e1f26d 100644 |
--- a/chrome/android/java/res/layout/eb_edit.xml |
+++ b/chrome/android/java/res/layout/eb_edit.xml |
@@ -33,22 +33,20 @@ |
android:layout_marginStart="16dp" |
android:orientation="vertical" > |
- <android.support.design.widget.TextInputLayout |
+ <org.chromium.chrome.browser.widget.FloatLabelLayout |
android:layout_width="match_parent" |
android:layout_height="wrap_content" |
android:layout_marginTop="22dp" > |
- <!-- 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" /> |
- </android.support.design.widget.TextInputLayout> |
+ </org.chromium.chrome.browser.widget.FloatLabelLayout> |
<TextView |
android:layout_width="wrap_content" |
@@ -70,7 +68,7 @@ |
android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
android:textColor="@color/dark_mode_tint" /> |
- <android.support.design.widget.TextInputLayout |
+ <org.chromium.chrome.browser.widget.FloatLabelLayout |
android:layout_width="match_parent" |
android:layout_height="wrap_content" |
android:layout_marginTop="24dp" > |
@@ -80,12 +78,11 @@ |
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" /> |
- </android.support.design.widget.TextInputLayout> |
+ </org.chromium.chrome.browser.widget.FloatLabelLayout> |
<LinearLayout |
android:id="@+id/offline_page_group" |