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

Issue 2664083007: Always adds margin at the end of the label to handle case where label (Closed)

Created:
3 years, 10 months ago by csashi
Modified:
3 years, 10 months ago
Reviewers:
Ted C, estark
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the layout specified in dropdown_item.xml when label and sublabel are on the same line. BUG=687395 Review-Url: https://codereview.chromium.org/2664083007 Cr-Commit-Position: refs/heads/master@{#447916} Committed: https://chromium.googlesource.com/chromium/src/+/c30e599ae66e6b96a515ab4537aeeb01ff948456

Patch Set 1 #

Patch Set 2 : Sets label's layout params to sublabel only when label and sublabel are not on the same line. #

Patch Set 3 : Sets label's layout params to sublabel only when label and sublabel are not on the same line. #

Total comments: 2

Patch Set 4 : Creates new layout params for sublabel to handle view reuse. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M ui/android/java/src/org/chromium/ui/DropdownAdapter.java View 1 2 3 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
csashi
On 2017/02/01 19:31:52, csashi wrote: > mailto:csashi@google.com changed reviewers: > + mailto:estark@chromium.org Hi Emily, Can ...
3 years, 10 months ago (2017-02-01 19:37:15 UTC) #3
estark
On 2017/02/01 19:37:15, csashi wrote: > On 2017/02/01 19:31:52, csashi wrote: > > mailto:csashi@google.com changed ...
3 years, 10 months ago (2017-02-02 06:53:46 UTC) #4
csashi
On 2017/02/02 06:53:46, estark wrote: > On 2017/02/01 19:37:15, csashi wrote: > > On 2017/02/01 ...
3 years, 10 months ago (2017-02-02 18:46:26 UTC) #5
estark
On 2017/02/02 18:46:26, csashi wrote: > On 2017/02/02 06:53:46, estark wrote: > > On 2017/02/01 ...
3 years, 10 months ago (2017-02-02 18:53:29 UTC) #6
csashi
Hi Ted, Can you please review and approve? Thanks,
3 years, 10 months ago (2017-02-02 18:57:56 UTC) #8
Ted C
https://codereview.chromium.org/2664083007/diff/40001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java File ui/android/java/src/org/chromium/ui/DropdownAdapter.java (right): https://codereview.chromium.org/2664083007/diff/40001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java#newcode196 ui/android/java/src/org/chromium/ui/DropdownAdapter.java:196: sublabelView.setLayoutParams(layoutParams); by conditionally overwriting the layout params, if this ...
3 years, 10 months ago (2017-02-02 23:19:22 UTC) #10
csashi
Hi Ted, Thanks for the catch. Please take a look. Screenshot with latest change: https://drive.google.com/file/d/0B1qGSlvsjCymZWZKUDYxRlFIcFE/view?usp=sharing ...
3 years, 10 months ago (2017-02-03 00:03:37 UTC) #11
Ted C
lgtm
3 years, 10 months ago (2017-02-03 00:04:32 UTC) #12
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/2664083007/60001
3 years, 10 months ago (2017-02-03 00:05:27 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 03:56:54 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c30e599ae66e6b96a515ab4537ae...

Powered by Google App Engine
This is Rietveld 408576698