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

Issue 1412423007: Modify Physical Web Nearby URLs list to resemble search results (Closed)

Created:
5 years, 2 months ago by mattreynolds
Modified:
5 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify Physical Web Nearby URLs list to resemble search results Add layouts from the Android Physical Web app that display URL items with blue page titles, green URLs, gray description text, and favicon. Also add NearbyUrlsAdapter for displaying PwsResults with these layouts. BUG=529962 Committed: https://crrev.com/b2f96a5eefb9ca66435bba93495b3cddcdcaa80d Cr-Commit-Position: refs/heads/master@{#356160}

Patch Set 1 #

Total comments: 4

Patch Set 2 : wip (taking changes from dvh,agrieve) #

Total comments: 4

Patch Set 3 : wip (taking changes from mariakhomenko) #

Total comments: 11

Patch Set 4 : wip (taking changes from aurimas) #

Total comments: 3

Patch Set 5 : wip (taking changes from aurimas) #

Total comments: 1

Patch Set 6 : wip (fix maxLines->singleLine) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -12 lines) Patch
M chrome/android/java/AndroidManifest.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A + chrome/android/java/res/layout/physical_web_list_urls_activity.xml View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/android/java/res/values-v17/styles.xml View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ListUrlsActivity.java View 1 2 3 chunks +25 lines, -5 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyUrlsAdapter.java View 1 2 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (17 generated)
dvh
https://codereview.chromium.org/1412423007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyUrlsAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyUrlsAdapter.java (right): https://codereview.chromium.org/1412423007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyUrlsAdapter.java#newcode52 chrome/android/java/src/org/chromium/chrome/browser/physicalweb/NearbyUrlsAdapter.java:52: iconImageView.setImageDrawable(null); FYI, you'll probably get as input a Bitmap ...
5 years, 2 months ago (2015-10-22 18:19:10 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412423007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412423007/1
5 years, 2 months ago (2015-10-22 18:22:10 UTC) #5
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 2 months ago (2015-10-22 18:22:11 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412423007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412423007/1
5 years, 2 months ago (2015-10-22 18:36:23 UTC) #9
mattreynolds
> I think we can remove that string and the "android:contentDescription" attribute > altogether. Removing ...
5 years, 2 months ago (2015-10-22 18:41:45 UTC) #10
agrieve
lgtm with nits https://codereview.chromium.org/1412423007/diff/1/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml File chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml (right): https://codereview.chromium.org/1412423007/diff/1/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml#newcode3 chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml:3: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" Might be worth seeing ...
5 years, 2 months ago (2015-10-22 18:53:07 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-22 19:19:14 UTC) #13
mattreynolds
> FYI, you'll probably get as input a Bitmap and the method to set a ...
5 years, 2 months ago (2015-10-22 23:08:41 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412423007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412423007/20001
5 years, 2 months ago (2015-10-22 23:09:35 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-22 23:44:51 UTC) #18
dvh
On 2015/10/22 23:44:51, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 2 months ago (2015-10-23 14:31:25 UTC) #19
dvh
mariakhomenko@chromium.org: Please review changes in Please could you take a look? Thanks!
5 years, 2 months ago (2015-10-23 14:32:22 UTC) #21
dvh
yusufo@chromium.org: Could you please take a look at chrome/android/java/res/*? Thanks!
5 years, 2 months ago (2015-10-23 14:36:48 UTC) #23
Maria
https://codereview.chromium.org/1412423007/diff/20001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml File chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml (right): https://codereview.chromium.org/1412423007/diff/20001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml#newcode10 chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml:10: android:background="#FFFFFF"> nit: lowercase https://codereview.chromium.org/1412423007/diff/20001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml#newcode12 chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml:12: android:id="@+id/icon" these id names ...
5 years, 2 months ago (2015-10-23 17:06:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412423007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412423007/20001
5 years, 2 months ago (2015-10-23 17:07:58 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/112250)
5 years, 2 months ago (2015-10-23 17:18:10 UTC) #29
mattreynolds
Thanks Maria! > android:background="#FFFFFF"> > nit: lowercase Done > android:id="@+id/icon" > these id names are ...
5 years, 2 months ago (2015-10-23 17:53:31 UTC) #31
Maria
lgtm
5 years, 2 months ago (2015-10-23 18:08:46 UTC) #32
mattreynolds
aurimas@chromium.org Please take a look at the res changes in chrome/android/java/res/*, thanks!
5 years, 1 month ago (2015-10-26 17:30:45 UTC) #34
aurimas (slooooooooow)
Is there a mock of what the UI should look like? https://codereview.chromium.org/1412423007/diff/40001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml File chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml (right): ...
5 years, 1 month ago (2015-10-26 18:09:10 UTC) #35
mattreynolds
> Is there a mock of what the UI should look like? There's a mock ...
5 years, 1 month ago (2015-10-26 18:17:35 UTC) #36
mattreynolds
> Missing copyright header. See other xml files. Done x2 > fill_parent is is deprecated. ...
5 years, 1 month ago (2015-10-26 19:23:08 UTC) #37
aurimas (slooooooooow)
Can you post a screenshot of what UI looks like after this patch? https://codereview.chromium.org/1412423007/diff/60001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml File ...
5 years, 1 month ago (2015-10-26 20:07:46 UTC) #38
mattreynolds
> Can you post a screenshot of what UI looks like after this patch? Here's ...
5 years, 1 month ago (2015-10-26 21:52:16 UTC) #39
aurimas (slooooooooow)
lgtm https://chromiumcodereview.appspot.com/1412423007/diff/80001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml File chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml (right): https://chromiumcodereview.appspot.com/1412423007/diff/80001/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml#newcode28 chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml:28: android:maxLines="1" Change this to singleLine="true" like below.
5 years, 1 month ago (2015-10-26 21:58:37 UTC) #40
mattreynolds
> android:maxLines="1" > Change this to singleLine="true" like below. Done. Thanks Aurimas!
5 years, 1 month ago (2015-10-26 22:04:04 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412423007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412423007/100001
5 years, 1 month ago (2015-10-26 22:05:48 UTC) #44
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-10-26 22:48:42 UTC) #45
commit-bot: I haz the power
5 years, 1 month ago (2015-10-26 22:50:13 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b2f96a5eefb9ca66435bba93495b3cddcdcaa80d
Cr-Commit-Position: refs/heads/master@{#356160}

Powered by Google App Engine
This is Rietveld 408576698