forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update the tap size of the items in strip from 46dpX48dp to 48dpX48dp. * Add a 20dpX20dp white circle as the background of each favicon in tab strip. * Change the background color of the selected favicon in tab strip to transparent. * Update the selected ring for tab strip. * Change the size of the favicon in tab strip from 16dpX16dp to 14dpX14dp. Bug: 1091566 Change-Id: Iaacd146242e0ce16dd53f732a4514a8a649f1607 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236902 Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Reviewed-by: Mei Liang <meiliang@chromium.org> Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#777011}
- Loading branch information
Yue Zhang
authored and
Commit Bot
committed
Jun 10, 2020
1 parent
3392eb1
commit 01b29ae
Showing
21 changed files
with
201 additions
and
34 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 removed
BIN
-2.52 KB
chrome/android/features/tab_ui/java/res/drawable-hdpi/tabstrip_selected.png
Binary file not shown.
Binary file removed
BIN
-691 Bytes
chrome/android/features/tab_ui/java/res/drawable-mdpi/tabstrip_selected.png
Binary file not shown.
Binary file removed
BIN
-1.23 KB
chrome/android/features/tab_ui/java/res/drawable-xhdpi/tabstrip_selected.png
Binary file not shown.
Binary file removed
BIN
-1.82 KB
chrome/android/features/tab_ui/java/res/drawable-xxhdpi/tabstrip_selected.png
Binary file not shown.
Binary file removed
BIN
-2.4 KB
chrome/android/features/tab_ui/java/res/drawable-xxxhdpi/tabstrip_selected.png
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
chrome/android/features/tab_ui/java/res/drawable/tab_strip_favicon_circle.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2020 The Chromium Authors. All rights reserved. | ||
Use of this source code is governed by a BSD-style license that can be | ||
found in the LICENSE file. --> | ||
|
||
<layer-list | ||
xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item | ||
android:width="20dp" | ||
android:height="20dp" | ||
android:gravity="center"> | ||
<shape | ||
android:shape="oval"> | ||
<solid android:color="@color/default_icon_color_light" /> | ||
</shape> | ||
</item> | ||
</layer-list> |
43 changes: 43 additions & 0 deletions
43
chrome/android/features/tab_ui/java/res/drawable/tab_strip_selected_ring.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:height="16dp" | ||
android:viewportHeight="48" | ||
android:viewportWidth="48" | ||
android:width="16dp" > | ||
<path android:pathData="M 19, 24 | ||
m -12, 0 | ||
a 17,17 0 1,0 34,0 | ||
a 17,17 0 1,0 -34,0 | ||
z" | ||
android:strokeColor="@color/default_icon_color_blue" android:strokeWidth="2"/> | ||
<path android:fillColor="@color/default_icon_color_blue" android:fillType="evenOdd" | ||
android:pathData="M 40, 12 | ||
m -12, 0 | ||
a 8,8 0 1,0 16,0 | ||
a 8,8 0 1,0 -16,0 | ||
z"/> | ||
<path android:fillColor="@color/default_bg_color" android:fillType="evenOdd" | ||
android:pathData=" | ||
M39.5,15 | ||
C39.25,15.32 39,15.32 38.65,15 | ||
L36.25,12.6 | ||
L33.85,15 | ||
C33.5,15.32 33,15.32 32.65,15 | ||
V15 | ||
C32.35,14.67 32.35,14.15 32.65,13.82 | ||
L35.1,11.42 | ||
L32.65,9.02 | ||
C32.35,8.69 32.35,8.17 32.6,7.84 | ||
V7.84 | ||
C33,7.52 33.5,7.52 33.85,7.84 | ||
L36.25,10.24 | ||
L38.65,7.84 | ||
C39,7.52 39.5,7.52 39.85,7.84 | ||
V7.84 | ||
C40.15,8.17 40.15,8.69 39.85,9.02 | ||
L37.4,11.42 | ||
L39.85,13.82 | ||
C40.15,14.15 40.15,14.67 39.85,14.67 | ||
V15 | ||
Z"/> | ||
</vector> |
43 changes: 43 additions & 0 deletions
43
chrome/android/features/tab_ui/java/res/drawable/tab_strip_selected_ring_incognito.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:height="16dp" | ||
android:viewportHeight="48" | ||
android:viewportWidth="48" | ||
android:width="16dp" > | ||
<path android:pathData="M 19, 24 | ||
m -12, 0 | ||
a 17,17 0 1,0 34,0 | ||
a 17,17 0 1,0 -34,0 | ||
z" | ||
android:strokeColor="@color/modern_blue_300" android:strokeWidth="2"/> | ||
<path android:fillColor="@color/modern_blue_300" android:fillType="evenOdd" | ||
android:pathData="M 40, 12 | ||
m -12, 0 | ||
a 8,8 0 1,0 16,0 | ||
a 8,8 0 1,0 -16,0 | ||
z"/> | ||
<path android:fillColor="@color/modern_grey_900" android:fillType="evenOdd" | ||
android:pathData=" | ||
M39.5,15 | ||
C39.25,15.32 39,15.32 38.65,15 | ||
L36.25,12.6 | ||
L33.85,15 | ||
C33.5,15.32 33,15.32 32.65,15 | ||
V15 | ||
C32.35,14.67 32.35,14.15 32.65,13.82 | ||
L35.1,11.42 | ||
L32.65,9.02 | ||
C32.35,8.69 32.35,8.17 32.6,7.84 | ||
V7.84 | ||
C33,7.52 33.5,7.52 33.85,7.84 | ||
L36.25,10.24 | ||
L38.65,7.84 | ||
C39,7.52 39.5,7.52 39.85,7.84 | ||
V7.84 | ||
C40.15,8.17 40.15,8.69 39.85,9.02 | ||
L37.4,11.42 | ||
L39.85,13.82 | ||
C40.15,14.15 40.15,14.67 39.85,14.67 | ||
V15 | ||
Z"/> | ||
</vector> |
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
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
Oops, something went wrong.