Matt Pietal | 2223179 | 2020-01-23 09:51:09 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | * Copyright 2020, The Android Open Source Project |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> |
Lucas Dupin | 92f6cca | 2020-04-14 22:30:54 -0700 | [diff] [blame] | 20 | <item |
| 21 | android:id="@+id/background"> |
Matt Pietal | 2223179 | 2020-01-23 09:51:09 -0500 | [diff] [blame] | 22 | <shape> |
Matt Pietal | f8cf084 | 2020-02-14 10:25:11 -0500 | [diff] [blame] | 23 | <solid android:color="@color/control_default_background" /> |
Matt Pietal | 2223179 | 2020-01-23 09:51:09 -0500 | [diff] [blame] | 24 | <corners android:radius="@dimen/control_corner_radius" /> |
| 25 | </shape> |
| 26 | </item> |
| 27 | <item |
| 28 | android:id="@+id/clip_layer"> |
| 29 | <clip |
| 30 | android:clipOrientation="horizontal" |
| 31 | android:drawable="@drawable/control_layer"/> |
| 32 | </item> |
| 33 | </layer-list> |