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

Issue 2800563003: bluetooth: Use state_selected for changing text color and mark the TextView as selected. (Closed)

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

Description

bluetooth: Use state_selected for changing text color and mark the TextView as selected. Changes item_chooser_row_text_color.xml use for the TextView's color to use state_selected instead of state_activated and manually set the TextView as selected when an item is selected. This so that the way in which items change colors is consistent across an items' views. In a follow up patch we will add an icon and that will require the use of state_selected rather than state_activated. BUG=543466 Review-Url: https://codereview.chromium.org/2800563003 Cr-Commit-Position: refs/heads/master@{#463465} Committed: https://chromium.googlesource.com/chromium/src/+/f65d65d3fc6c0413d6f940980bd006654fd02bf8

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : Fix test #

Patch Set 4 : Remove thorough testing :( #

Patch Set 5 : moar clean up #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M chrome/android/java/res/color/item_chooser_row_text_color.xml View 1 chunk +1 line, -1 line 1 comment Download
M chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java View 1 2 3 4 3 chunks +15 lines, -0 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (16 generated)
ortuno
tedchoc: picking up this series of patches again. PTAL https://codereview.chromium.org/2800563003/diff/80001/chrome/android/java/res/color/item_chooser_row_text_color.xml File chrome/android/java/res/color/item_chooser_row_text_color.xml (right): https://codereview.chromium.org/2800563003/diff/80001/chrome/android/java/res/color/item_chooser_row_text_color.xml#newcode7 chrome/android/java/res/color/item_chooser_row_text_color.xml:7: ...
3 years, 8 months ago (2017-04-06 06:27:41 UTC) #14
ortuno
Going back to this. I'm seeing some performance issues with this approach. The icons are ...
3 years, 8 months ago (2017-04-07 01:21:06 UTC) #15
Ted C
On 2017/04/07 01:21:06, ortuno wrote: > Going back to this. I'm seeing some performance issues ...
3 years, 8 months ago (2017-04-07 06:02:38 UTC) #16
ortuno
On 2017/04/07 at 06:02:38, tedchoc wrote: > On 2017/04/07 01:21:06, ortuno wrote: > > Going ...
3 years, 8 months ago (2017-04-07 06:28:08 UTC) #17
ortuno
I would still appreciate a review of this patch given that the patch that is ...
3 years, 8 months ago (2017-04-10 00:24:00 UTC) #18
Ted C
lgtm and sorry for not reviewing sooner https://codereview.chromium.org/2800563003/diff/80001/chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java (right): https://codereview.chromium.org/2800563003/diff/80001/chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java#newcode171 chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java:171: assertTrue(getDescriptionTextView(dialog, 1).isSelected()); ...
3 years, 8 months ago (2017-04-10 23:35:53 UTC) #19
ortuno
Thanks! Once I get around fixing our tests I'll come by for help.
3 years, 8 months ago (2017-04-10 23:38:47 UTC) #21
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/2800563003/80001
3 years, 8 months ago (2017-04-10 23:39:48 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 00:35:50 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f65d65d3fc6c0413d6f940980bd0...

Powered by Google App Engine
This is Rietveld 408576698