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

Issue 2434383002: [Payments] Float card scanner icon at the end of EditText instead of compound drawable (Closed)

Created:
4 years, 2 months ago by gogerald1
Modified:
4 years, 1 month ago
CC:
chromium-reviews, rouslan+payments_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Float card scanner icon at the end of EditText instead of compound drawable This gives better user experience since compound drawable do not support click event. BUG=657178, 640430 Committed: https://crrev.com/c3da4b51497fca50ebed5e4adbec3f7ada68ceda Cr-Commit-Position: refs/heads/master@{#427222}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments and tint icon #

Total comments: 2

Patch Set 3 : padding at the end of EditText for action icon #

Total comments: 4

Patch Set 4 : address comments #

Total comments: 4

Patch Set 5 : add comments, move setTranslationY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -16 lines) Patch
M chrome/android/java/res/layout/payments_request_editor_textview.xml View 1 1 chunk +25 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java View 1 2 3 4 6 chunks +56 lines, -11 lines 0 comments Download

Messages

Total messages: 64 (45 generated)
gogerald1
Hi, PTAL,
4 years, 2 months ago (2016-10-20 22:44:31 UTC) #13
please use gerrit instead
https://codereview.chromium.org/2434383002/diff/80001/chrome/android/java/res/layout/payments_request_editor_textview.xml File chrome/android/java/res/layout/payments_request_editor_textview.xml (right): https://codereview.chromium.org/2434383002/diff/80001/chrome/android/java/res/layout/payments_request_editor_textview.xml#newcode30 chrome/android/java/res/layout/payments_request_editor_textview.xml:30: android:contentDescription="@string/autofill_scan_credit_card" The content description should ideally be set from ...
4 years, 2 months ago (2016-10-20 22:52:04 UTC) #14
gogerald1
https://codereview.chromium.org/2434383002/diff/80001/chrome/android/java/res/layout/payments_request_editor_textview.xml File chrome/android/java/res/layout/payments_request_editor_textview.xml (right): https://codereview.chromium.org/2434383002/diff/80001/chrome/android/java/res/layout/payments_request_editor_textview.xml#newcode30 chrome/android/java/res/layout/payments_request_editor_textview.xml:30: android:contentDescription="@string/autofill_scan_credit_card" On 2016/10/20 22:52:04, rouslan wrote: > The content ...
4 years, 2 months ago (2016-10-21 01:08:51 UTC) #25
please use gerrit instead
lgtm
4 years, 2 months ago (2016-10-21 13:42:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434383002/140001
4 years, 2 months ago (2016-10-21 13:51:48 UTC) #30
please use gerrit instead
I don't own files in chrome/android/java/res/layout/.
4 years, 2 months ago (2016-10-21 13:54:45 UTC) #31
gogerald1
tedchoc@chromium.org: Please review changes in chrome/android/java/res/layout/*
4 years, 2 months ago (2016-10-21 14:48:48 UTC) #34
Ted C
https://codereview.chromium.org/2434383002/diff/140001/chrome/android/java/res/layout/payments_request_editor_textview.xml File chrome/android/java/res/layout/payments_request_editor_textview.xml (right): https://codereview.chromium.org/2434383002/diff/140001/chrome/android/java/res/layout/payments_request_editor_textview.xml#newcode11 chrome/android/java/res/layout/payments_request_editor_textview.xml:11: <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout what happens if this text is very long? ...
4 years, 2 months ago (2016-10-21 17:50:43 UTC) #36
gogerald1
https://codereview.chromium.org/2434383002/diff/140001/chrome/android/java/res/layout/payments_request_editor_textview.xml File chrome/android/java/res/layout/payments_request_editor_textview.xml (right): https://codereview.chromium.org/2434383002/diff/140001/chrome/android/java/res/layout/payments_request_editor_textview.xml#newcode11 chrome/android/java/res/layout/payments_request_editor_textview.xml:11: <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout On 2016/10/21 17:50:43, Ted C wrote: > what ...
4 years, 2 months ago (2016-10-21 20:01:35 UTC) #39
Ted C
a couple questions about the java code (that you might have already tried, but more ...
4 years, 2 months ago (2016-10-21 20:13:50 UTC) #40
gogerald1
https://codereview.chromium.org/2434383002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java (right): https://codereview.chromium.org/2434383002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java#newcode64 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java:64: Drawable icon = ApiCompatibilityUtils.getDrawable( On 2016/10/21 20:13:50, Ted C ...
4 years, 2 months ago (2016-10-21 20:58:07 UTC) #43
Ted C
https://codereview.chromium.org/2434383002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java (right): https://codereview.chromium.org/2434383002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java#newcode165 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java:165: public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { welcome to ...
4 years, 1 month ago (2016-10-24 17:41:41 UTC) #46
gogerald1
https://codereview.chromium.org/2434383002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java (right): https://codereview.chromium.org/2434383002/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java#newcode165 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorTextField.java:165: public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { On 2016/10/24 ...
4 years, 1 month ago (2016-10-24 20:56:37 UTC) #52
Ted C
lgtm
4 years, 1 month ago (2016-10-24 21:04:56 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434383002/300001
4 years, 1 month ago (2016-10-24 21:07:53 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/151628)
4 years, 1 month ago (2016-10-25 00:21:55 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434383002/300001
4 years, 1 month ago (2016-10-25 00:45:20 UTC) #60
commit-bot: I haz the power
Committed patchset #5 (id:300001)
4 years, 1 month ago (2016-10-25 01:37:42 UTC) #62
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 01:41:40 UTC) #64
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c3da4b51497fca50ebed5e4adbec3f7ada68ceda
Cr-Commit-Position: refs/heads/master@{#427222}

Powered by Google App Engine
This is Rietveld 408576698