1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2018 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 18 <item android:id="@+id/pill_stroke"> 19 <shape android:shape="rectangle"> 20 <padding 21 android:bottom="0dp" 22 android:left="1dp" 23 android:right="1dp" 24 android:top="0dp"/> 25 <solid android:color="@android:color/transparent"/> 26 <corners android:radius="24dp"/> 27 </shape> 28 </item> 29 <item> 30 <shape android:shape="rectangle"> 31 <padding 32 android:bottom="1dp" 33 android:left="1dp" 34 android:right="1dp" 35 android:top="1dp"/> 36 <solid android:color="#102C3558"/> 37 <corners android:radius="24dp"/> 38 </shape> 39 </item> 40 <item> 41 <shape android:shape="rectangle"> 42 <padding 43 android:bottom="1dp" 44 android:left="1dp" 45 android:right="1dp" 46 android:top="0dp"/> 47 <solid android:color="#202C3558"/> 48 <corners android:radius="24dp"/> 49 </shape> 50 </item> 51 <item> 52 <shape android:shape="rectangle"> 53 <padding 54 android:bottom="1dp" 55 android:left="1dp" 56 android:right="1dp" 57 android:top="1dp"/> 58 <solid android:color="#382C3558"/> 59 <corners android:radius="24dp"/> 60 </shape> 61 </item> 62 <item> 63 <shape android:shape="rectangle"> 64 <padding 65 android:bottom="1dp" 66 android:left="0dp" 67 android:right="0dp" 68 android:top="0dp"/> 69 <solid android:color="#582C3558"/> 70 <corners android:radius="24dp"/> 71 </shape> 72 </item> 73 <item android:drawable="@drawable/pill_background"/> 74</layer-list>