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

Issue 141853007: Update the AppBannerView appearance (Closed)

Created:
6 years, 10 months ago by gone
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Update the AppBannerView appearance * Updates the AppBannerView assets to the ones provided by the Android guys and deletes the old ones. * Updates AppBannerView calculations to account for the new assets and their padding values. * Adds a RatingView class that displays the given number of stars in increments of 0.5. * Adds an event to the SwipableOverlayView to respond to clicking on the View (and none of its buttons). * AppBannerView's install button changes based on whether an app is being installed, installed, or being advertised. * Changes the layout size on Nexus 7s so that it uses a phone-sized card instead of a tablet one in landscape mode. * Introduces an AppData structure for simply storing all of an app's data in one place. ! Adds strings for the "installing" and "open" states. NOTRY=true BUG=341556 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252327

Patch Set 1 #

Patch Set 2 : Cleaning #

Patch Set 3 : Fixing text view margins #

Patch Set 4 : Moving stuff around #

Patch Set 5 : Updating for new mock since no one is commenting #

Patch Set 6 : Opening up function #

Patch Set 7 : Another update for tablets #

Total comments: 50

Patch Set 8 : Made everything less ugly #

Patch Set 9 : Further comments #

Patch Set 10 : Font size fix #

Total comments: 2

Patch Set 11 : Updating for Marco's new numbers, removing nits #

Patch Set 12 : Making code ugly for findbugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+531 lines, -151 lines) Patch
D chrome/android/java/res/drawable-hdpi/app_banner_background.9.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/app_banner_rating.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/google_play_logo.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/app_banner_background.9.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/btn_star_mini_empty.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/btn_star_mini_full.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/btn_star_mini_half.png View Binary file 0 comments Download
A + chrome/android/java/res/drawable-xxhdpi/card_background_default.9.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/google_play_logo.png View 1 2 3 4 5 6 7 8 Binary file 0 comments Download
D chrome/android/java/res/drawable/app_banner_background.9.png View Binary file 0 comments Download
D chrome/android/java/res/drawable/google_play_logo.png View Binary file 0 comments Download
M chrome/android/java/res/layout/app_banner_view.xml View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -12 lines 0 comments Download
A chrome/android/java/res/values-h720dp/dimens.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/android/java/res/values-sw600dp-v17/styles.xml View 1 2 3 4 5 6 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/android/java/res/values-sw600dp/dimens.xml View 1 2 3 4 5 6 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/android/java/res/values-v17/styles.xml View 1 2 3 4 5 6 7 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 6 7 1 chunk +21 lines, -10 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +173 lines, -78 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/banners/AppData.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +136 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java View 1 2 3 4 5 6 7 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java View 1 2 3 4 5 6 7 16 chunks +53 lines, -22 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
gone
6 years, 10 months ago (2014-02-12 17:07:32 UTC) #1
gone
Moved some stuff around to clean up a different CL.
6 years, 10 months ago (2014-02-14 19:17:14 UTC) #2
gone
Haven't seen any review activity so I just piled on more changes requested by the ...
6 years, 10 months ago (2014-02-19 03:24:22 UTC) #3
newt (away)
several comments, all minor though https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/res/layout/app_banner_view.xml File chrome/android/java/res/layout/app_banner_view.xml (right): https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/res/layout/app_banner_view.xml#newcode10 chrome/android/java/res/layout/app_banner_view.xml:10: android:background="@drawable/card_background_default" so you're just ...
6 years, 10 months ago (2014-02-19 21:52:49 UTC) #4
gone
https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/res/layout/app_banner_view.xml File chrome/android/java/res/layout/app_banner_view.xml (right): https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/res/layout/app_banner_view.xml#newcode10 chrome/android/java/res/layout/app_banner_view.xml:10: android:background="@drawable/card_background_default" On 2014/02/19 21:52:49, newt wrote: > so you're ...
6 years, 10 months ago (2014-02-19 23:31:43 UTC) #5
David Trainor- moved to gerrit
lgtm https://chromiumcodereview.appspot.com/141853007/diff/500001/chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java File chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java (right): https://chromiumcodereview.appspot.com/141853007/diff/500001/chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java#newcode29 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java:29: private static Bitmap sStarEmpty; Ah I knew it!
6 years, 10 months ago (2014-02-20 01:22:27 UTC) #6
newt (away)
one nit, then lgtm https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java File chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java (right): https://codereview.chromium.org/141853007/diff/500001/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java#newcode117 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java:117: // Store the Drawable's padding. ...
6 years, 10 months ago (2014-02-20 01:32:22 UTC) #7
gone
https://chromiumcodereview.appspot.com/141853007/diff/860001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://chromiumcodereview.appspot.com/141853007/diff/860001/chrome/android/java/strings/android_chrome_strings.grd#newcode280 chrome/android/java/strings/android_chrome_strings.grd:280: <message name="IDS_APP_BANNER_INSTALLING" desc="Button text indicating that an application is ...
6 years, 10 months ago (2014-02-20 01:56:14 UTC) #8
gone
The CQ bit was checked by dfalcantara@chromium.org
6 years, 10 months ago (2014-02-20 01:56:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/141853007/900002
6 years, 10 months ago (2014-02-20 02:07:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/141853007/900002
6 years, 10 months ago (2014-02-20 05:18:32 UTC) #11
gone
The CQ bit was checked by dfalcantara@chromium.org
6 years, 10 months ago (2014-02-20 06:04:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/141853007/960002
6 years, 10 months ago (2014-02-20 09:18:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/141853007/960002
6 years, 10 months ago (2014-02-20 12:34:35 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-20 12:51:19 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-20 12:51:19 UTC) #16
gone
The CQ bit was checked by dfalcantara@chromium.org
6 years, 10 months ago (2014-02-20 15:35:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dfalcantara@chromium.org/141853007/960002
6 years, 10 months ago (2014-02-20 15:38:34 UTC) #18
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 18:36:54 UTC) #19
Message was sent while issue was closed.
Change committed as 252327

Powered by Google App Engine
This is Rietveld 408576698