-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TabStrip] Add dividers between inactive tabs
Add dividers between inactive tabs. -Implemented as additional layer at starting side of each tab. -Not yet animated. -Needs followup to address divider before new tab buttons. -Uses temp value for offset as spacing will change with updated containers. Video: https://drive.google.com/file/d/14ljKunJmOC7IhiO7RiPyxMaQsuk6lRBx/view?usp=share_link Bug: 1373634 Change-Id: I6e0a87f6139d13ceb31c1afc12472ae80fe863ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4018078 Reviewed-by: Theresa Sullivan <twellington@chromium.org> Reviewed-by: Sirisha Kavuluru <skavuluru@google.com> Commit-Queue: Neil Coronado <nemco@google.com> Cr-Commit-Position: refs/heads/main@{#1070621}
- Loading branch information
Neil Coronado
authored and
Chromium LUCI CQ
committed
Nov 12, 2022
1 parent
c5e8ae6
commit efad24e
Showing
10 changed files
with
214 additions
and
20 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
23 changes: 23 additions & 0 deletions
23
chrome/android/java/res/drawable/bg_tabstrip_tab_divider.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,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright 2022 The Chromium Authors | ||
Use of this source code is governed by a BSD-style license that can be | ||
found in the LICENSE file. | ||
--> | ||
|
||
<shape | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle" > | ||
<corners | ||
android:radius="1dp"/> | ||
<size | ||
android:width="2dp" | ||
android:height="20dp" /> | ||
<!-- This resource is passed to the CC layer, which has not yet been updated | ||
to work with themes (See https://crbug.com/1381196). Instead, we | ||
dynamically re-color this asset in code. Leaving this solid color here | ||
to both indicate what color this should be and to allow for solid | ||
re-coloring. --> | ||
<solid | ||
android:color="@color/default_icon_color_accent1_baseline" /> | ||
</shape> |
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.