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.
Round the thumbnail corners at the edge of suggestion cards.
Bug: 739664 Change-Id: I158511a9d8ccd85561adc1f59d67ee7f9386d343 Reviewed-on: https://chromium-review.googlesource.com/568818 Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Commit-Queue: Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Cr-Commit-Position: refs/heads/master@{#486513}
- Loading branch information
Showing
9 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
chrome/android/java/res/drawable/content_suggestions_card_corner_bottom.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 2017 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. --> | ||
|
||
<vector | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
tools:targetApi="21" | ||
android:width="@dimen/content_suggestions_card_modern_corner_radius" | ||
android:height="@dimen/content_suggestions_card_modern_corner_radius" | ||
android:viewportWidth="10" | ||
android:viewportHeight="10"> | ||
<path | ||
android:fillColor="@color/suggestions_modern_bg" | ||
android:pathData="M 0,0 A 10,10 0 0 0 10,10 L 0,10 Z" /> | ||
</vector> |
17 changes: 17 additions & 0 deletions
17
chrome/android/java/res/drawable/content_suggestions_card_corner_top.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 2017 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. --> | ||
|
||
<vector | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
tools:targetApi="21" | ||
android:width="@dimen/content_suggestions_card_modern_corner_radius" | ||
android:height="@dimen/content_suggestions_card_modern_corner_radius" | ||
android:viewportWidth="10" | ||
android:viewportHeight="10"> | ||
<path | ||
android:fillColor="@color/suggestions_modern_bg" | ||
android:pathData="M 0,10 A 10,10 0 0 1 10,0 L 0,0 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