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

Issue 2902503002: [Payment] should show all accepted card icon in payment editor. (Closed)

Created:
3 years, 7 months ago by Hwanseung Lee
Modified:
3 years, 6 months ago
CC:
chromium-reviews, mahmadi+paymentswatch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payment] should show all accepted card icon in payment editor. accepted card icons are missed in portrait mode according devices resolution. so we should replace LinearLayout with GridView to show all accepted card icons. if can't show all card icons in one line, GridView will make more then two lines. BUG=725296 Review-Url: https://codereview.chromium.org/2902503002 Cr-Commit-Position: refs/heads/master@{#477268} Committed: https://chromium.googlesource.com/chromium/src/+/117a4a82c42bcc441a7d5f21ab76b3e37fcbe6ef

Patch Set 1 #

Patch Set 2 : fix a build error. #

Patch Set 3 : adjust icon size #

Total comments: 34

Patch Set 4 : fix up #

Total comments: 8

Patch Set 5 : fix a class name. #

Total comments: 4

Patch Set 6 : fix the comment #

Total comments: 7

Patch Set 7 : move #

Total comments: 2

Patch Set 8 : add comment #

Total comments: 2

Patch Set 9 : q #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -25 lines) Patch
M chrome/android/java/res/layout/payment_request_editor_icons.xml View 1 2 3 4 5 6 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java View 1 2 3 4 5 6 2 chunks +55 lines, -22 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 71 (51 generated)
Hwanseung Lee
@rouslan, gogerald PTAL, thank you. i attached image to compare easily with before and after. ...
3 years, 7 months ago (2017-05-23 14:44:48 UTC) #26
please use gerrit instead
Ganggui, you can review this as an owner.
3 years, 7 months ago (2017-05-23 14:58:56 UTC) #27
gogerald1
https://codereview.chromium.org/2902503002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode41 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:41: DynamicHeightGridView container = nit: iconsContainer https://codereview.chromium.org/2902503002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode52 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:52: private static ...
3 years, 7 months ago (2017-05-24 14:25:24 UTC) #28
Hwanseung Lee
@gogerald1 could you review again? https://codereview.chromium.org/2902503002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode41 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:41: DynamicHeightGridView container = On ...
3 years, 7 months ago (2017-05-26 15:42:40 UTC) #29
gogerald1
Thanks, few more comments https://codereview.chromium.org/2902503002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:54: * missing comments? https://codereview.chromium.org/2902503002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/widget/DynamicHeightGridView.java File ...
3 years, 6 months ago (2017-05-30 19:36:49 UTC) #30
Hwanseung Lee
@gogerald1 PTAL, i fixed the some lines. https://codereview.chromium.org/2902503002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:54: * On ...
3 years, 6 months ago (2017-05-31 14:34:36 UTC) #33
gogerald1
lgtm % comments, you need another reviewer for resource changes, https://codereview.chromium.org/2902503002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode54 ...
3 years, 6 months ago (2017-05-31 15:12:01 UTC) #34
Hwanseung Lee
https://codereview.chromium.org/2902503002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java (right): https://codereview.chromium.org/2902503002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorIconsField.java:54: * this Adapter provides access to the icon views. ...
3 years, 6 months ago (2017-05-31 15:37:58 UTC) #37
Hwanseung Lee
@dfalcantara PTAL, thank you.
3 years, 6 months ago (2017-05-31 15:38:41 UTC) #39
gone
https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java#newcode25 chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java:25: heightSpec = MeasureSpec.makeMeasureSpec(View.MEASURED_SIZE_MASK, MeasureSpec.AT_MOST); This is a mask; you're ...
3 years, 6 months ago (2017-05-31 17:29:42 UTC) #42
Hwanseung Lee
On 2017/05/31 17:29:42, dfalcantara wrote: > https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java > File > chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java > (right): > > ...
3 years, 6 months ago (2017-05-31 23:41:17 UTC) #43
gone
On 2017/05/31 23:41:17, Hwanseung Lee wrote: > On 2017/05/31 17:29:42, dfalcantara wrote: > > > ...
3 years, 6 months ago (2017-05-31 23:59:52 UTC) #44
gone
https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java#newcode5 chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java:5: package org.chromium.chrome.browser.widget; Confine this to payments/ui. The stackoverflow post ...
3 years, 6 months ago (2017-06-01 00:08:28 UTC) #45
Hwanseung Lee
@dfalcantara could you review again? thank you. https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java#newcode5 chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java:5: package org.chromium.chrome.browser.widget; ...
3 years, 6 months ago (2017-06-01 14:36:38 UTC) #48
gone
https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java#newcode25 chrome/android/java/src/org/chromium/chrome/browser/widget/ExpandableGridView.java:25: heightSpec = MeasureSpec.makeMeasureSpec(View.MEASURED_SIZE_MASK, MeasureSpec.AT_MOST); On 2017/06/01 14:36:38, Hwanseung Lee ...
3 years, 6 months ago (2017-06-01 17:32:19 UTC) #51
Hwanseung Lee
@dfalcantara never mind about "enough big number". second parameter is mode type, mode type use ...
3 years, 6 months ago (2017-06-04 12:46:11 UTC) #54
gone
lgtm % using my comment https://codereview.chromium.org/2902503002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java:23: // attributes. by setting ...
3 years, 6 months ago (2017-06-05 17:21:01 UTC) #57
Hwanseung Lee
thank you. https://codereview.chromium.org/2902503002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java (right): https://codereview.chromium.org/2902503002/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ExpandableGridView.java:23: // attributes. by setting MeasureSpec.AT_MOST, GridView can ...
3 years, 6 months ago (2017-06-06 12:48:30 UTC) #65
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/2902503002/180001
3 years, 6 months ago (2017-06-06 12:48:50 UTC) #68
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 12:52:55 UTC) #71
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/117a4a82c42bcc441a7d5f21ab76...

Powered by Google App Engine
This is Rietveld 408576698