Chromium Code Reviews| 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 ec5ba08f0ecc1ef92089059809439e13f4a9bff5..14aea593a906ae85cb2f097f0790611f4bf07017 100644 |
| --- a/chrome/android/java/res/layout/payments_request_editor_textview.xml |
| +++ b/chrome/android/java/res/layout/payments_request_editor_textview.xml |
| @@ -21,12 +21,30 @@ |
| 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" |
| + <LinearLayout |
| + android:id="@+id/icons_layer" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| android:layout_gravity="end" |
| - android:contentDescription="@null" |
| - android:visibility="gone"/> |
| + android:orientation="horizontal"> |
| + |
| + <ImageView |
| + android:id="@+id/value_icon" |
| + android:layout_width="37.3dp" |
|
gone
2016/10/26 17:22:51
We don't use a fractional DP anywhere in Clank bec
gogerald1
2016/10/27 19:01:35
Keep it according to Hwi@'s feedback
gone
2016/10/27 20:14:41
Her feedback said she was crazy when she set it :P
gogerald1
2016/10/27 21:52:14
After talking to Hwi@, the same icon will be used
|
| + android:layout_height="24dp" |
| + android:layout_marginTop="12dp" |
| + android:layout_marginBottom="12dp" |
|
gone
2016/10/26 17:22:51
Instead of setting this margin top and bottom, can
gogerald1
2016/10/27 19:01:35
Done.
|
| + android:layout_marginStart="8dp" |
|
gone
2016/10/26 17:22:51
This margin start should be on the parent layout i
gogerald1
2016/10/27 19:01:35
There might be a future situation that below actio
|
| + android:contentDescription="@null" |
| + android:clickable="false" |
| + android:visibility="gone"/> |
| + |
| + <ImageView |
| + android:id="@+id/action_icon" |
| + android:layout_width="48dp" |
| + android:layout_height="48dp" |
| + android:padding="12dp" |
| + android:contentDescription="@null" |
| + android:visibility="gone"/> |
| + </LinearLayout> |
| </FrameLayout> |