Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Unified Diff: chrome/android/java/res/layout/eb_edit.xml

Issue 1225393002: Introduce support design library to chrome and roll android_tools/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll android_tools Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698