forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a shadow to the follow accelerator button.
Due to optical illusions, the shadow using android:elevation did not show up since the button was a darker color. Instead we now use a 9-patch based approach. Bug: b/188184619 Change-Id: I303f08c87d8b9c0eb20a56993f5c5a99401f8d2a be able to do the shadow. I have followed the instructions at and run tools/resources/optimize-png-files.sh to make the bitmaps as small as possible. Binary-Size: Size increase is unavoidable. We have added bitmaps to https: //chromium.googlesource.com/chromium/src/+/HEAD/docs/speed/binary_size/optimization_advice.md#optimizing-images Change-Id: I303f08c87d8b9c0eb20a56993f5c5a99401f8d2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3072888 Commit-Queue: Peter Williamson <petewil@chromium.org> Reviewed-by: Cathy Li <chili@chromium.org> Reviewed-by: Theresa <twellington@chromium.org> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/main@{#914970}
- Loading branch information
Pete Williamson
authored and
Chromium LUCI CQ
committed
Aug 24, 2021
1 parent
1a848e1
commit b1733c7
Showing
10 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.18 KB
chrome/browser/feed/android/java/res/drawable-hdpi/follow_accelerator_shadow.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.27 KB
chrome/browser/feed/android/java/res/drawable-mdpi/follow_accelerator_shadow.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.95 KB
...me/browser/feed/android/java/res/drawable-xhdpi/follow_accelerator_shadow.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.03 KB
...e/browser/feed/android/java/res/drawable-xxhdpi/follow_accelerator_shadow.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters