Index: chrome/android/java/res/layout/payments_request_editor_textview.xml |
diff --git a/chrome/android/java/res/layout/payments_request_editor_textview.xml b/chrome/android/java/res/layout/payments_request_editor_textview.xml |
index db89d5b0d4e4e0e6e5f62b0c0cd72f79b1f80df2..ec5ba08f0ecc1ef92089059809439e13f4a9bff5 100644 |
--- a/chrome/android/java/res/layout/payments_request_editor_textview.xml |
+++ b/chrome/android/java/res/layout/payments_request_editor_textview.xml |
@@ -3,10 +3,30 @@ |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. --> |
-<AutoCompleteTextView |
+<FrameLayout |
xmlns:android="http://schemas.android.com/apk/res/android" |
- android:id="@+id/text_view" |
android:layout_width="match_parent" |
- android:layout_height="wrap_content" |
- android:singleLine="true" |
- android:imeOptions="flagNoExtractUi" /> |
+ android:layout_height="wrap_content"> |
+ |
+ <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout |
Ted C
2016/10/21 17:50:43
what happens if this text is very long? Won't the
gogerald1
2016/10/21 20:01:34
Done. Add padding programmatically in EditorTextFi
|
+ android:id="@+id/text_input_layout" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content"> |
+ |
+ <AutoCompleteTextView |
+ android:id="@+id/text_view" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:singleLine="true" |
+ android:imeOptions="flagNoExtractUi" /> |
+ </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> |
+ |
+ <ImageView |
+ android:id="@+id/action_icon" |
+ android:layout_width="48dp" |
+ android:layout_height="48dp" |
+ android:padding="12dp" |
+ android:layout_gravity="end" |
+ android:contentDescription="@null" |
+ android:visibility="gone"/> |
+</FrameLayout> |