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

Issue 2646533002: [NTP] Prevent Long Publisher pushing Offline Badge off a card. (Closed)

Created:
3 years, 11 months ago by PEConn
Modified:
3 years, 11 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP] Prevent Long Publisher pushing Offline Badge off a card. With long publishers, small screens, large font sizes or some combination of the above the publisher attribution can push the Offline Badge off the right hand side of the Card. By using weights we can make the TextView ellipsize before pushing the Offline Badge off the card. BUG=678568 Review-Url: https://codereview.chromium.org/2646533002 Cr-Commit-Position: refs/heads/master@{#444744} Committed: https://chromium.googlesource.com/chromium/src/+/a1193bdc94a5163af5cd0a71bf438c44fa08fd16

Patch Set 1 #

Patch Set 2 : Added comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M chrome/android/java/res/layout/new_tab_page_snippets_card.xml View 1 1 chunk +9 lines, -2 lines 1 comment Download

Messages

Total messages: 15 (9 generated)
PEConn
PTAL!
3 years, 11 months ago (2017-01-18 17:05:56 UTC) #3
Michael van Ouwerkerk
https://codereview.chromium.org/2646533002/diff/20001/chrome/android/java/res/layout/new_tab_page_snippets_card.xml File chrome/android/java/res/layout/new_tab_page_snippets_card.xml (right): https://codereview.chromium.org/2646533002/diff/20001/chrome/android/java/res/layout/new_tab_page_snippets_card.xml#newcode45 chrome/android/java/res/layout/new_tab_page_snippets_card.xml:45: android:layout_width="wrap_content" I expected this might lead to a width ...
3 years, 11 months ago (2017-01-18 19:43:49 UTC) #8
Bernhard Bauer
Oh, awesome! LGTM.
3 years, 11 months ago (2017-01-19 10:21:45 UTC) #9
Michael van Ouwerkerk
lgtm
3 years, 11 months ago (2017-01-19 15:49:26 UTC) #11
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/2646533002/20001
3 years, 11 months ago (2017-01-19 15:49:38 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 15:54:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a1193bdc94a5163af5cd0a71bf43...

Powered by Google App Engine
This is Rietveld 408576698