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

Issue 2914513002: Use explicit dividers between preferences in AccountManagementFragment (Closed)

Created:
3 years, 6 months ago by bsazonov
Modified:
3 years, 6 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use explicit dividers between preferences in AccountManagementFragment This CL replaces dividers provided by ListView with explicit ones. ListView always draws divider after every selectable preference, but in AccountManagementFragment there are cases when it is necessary to show divider after non-selectable preference and hide divider after selectable ones. This CL achieves such a fine-grained control by setting ListView divider to null and adding explicit dividers where necessary. BUG=722907 Review-Url: https://codereview.chromium.org/2914513002 Cr-Commit-Position: refs/heads/master@{#475902} Committed: https://chromium.googlesource.com/chromium/src/+/93fdbfecc3703f4b1459d8dec0fb412ed508f90a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -10 lines) Patch
M chrome/android/java/res/xml/account_management_preferences.xml View 1 chunk +28 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java View 1 6 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
bsazonov
Bernhard, please take a look.
3 years, 6 months ago (2017-05-29 15:03:47 UTC) #2
Bernhard Bauer
lgtm https://codereview.chromium.org/2914513002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java File chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java (right): https://codereview.chromium.org/2914513002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java#newcode156 chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java:156: View rootView = getView(); Just inline this variable.
3 years, 6 months ago (2017-05-31 13:13:50 UTC) #7
bsazonov
Thanks! https://codereview.chromium.org/2914513002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java File chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java (right): https://codereview.chromium.org/2914513002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java#newcode156 chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java:156: View rootView = getView(); On 2017/05/31 13:13:50, Bernhard ...
3 years, 6 months ago (2017-05-31 13:23:51 UTC) #8
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/2914513002/20001
3 years, 6 months ago (2017-05-31 13:24:34 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 14:07:05 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/93fdbfecc3703f4b1459d8dec0fb...

Powered by Google App Engine
This is Rietveld 408576698