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.
Add Rounded Corners to snackbars on Tablet
Per Material Design, floating snackbars should have rounded corners with radius of 2dp. This CL implements this detail. BUG=545258 R=dfalcantara@chromium.org Review URL: https://codereview.chromium.org/1414423002 . Cr-Commit-Position: refs/heads/master@{#355424}
- Loading branch information
1 parent
9dac286
commit 92a89cb
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
chrome/android/java/res/drawable-sw600dp/snackbar_background.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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2015 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. --> | ||
|
||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle" > | ||
|
||
<solid android:color="@color/snackbar_background_color" /> | ||
|
||
<corners android:radius="2dip" /> | ||
|
||
</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