1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright 2019 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 18<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 19 <item> 20 <shape> 21 <gradient 22 android:angle="90" 23 android:centerY="0.3" 24 android:startColor="@android:color/black" 25 android:centerColor="@android:color/black" 26 android:endColor="@android:color/transparent"/> 27 </shape> 28 </item> 29 <item> 30 <shape> 31 <gradient 32 android:angle="90" 33 android:centerY="0.48" 34 android:startColor="#80000000" 35 android:centerColor="#80000000" 36 android:endColor="@android:color/transparent"/> 37 </shape> 38 </item> 39 <item> 40 <shape> 41 <gradient 42 android:angle="270" 43 android:centerY="0.64" 44 android:startColor="#CC000000" 45 android:centerColor="@android:color/transparent"/> 46 </shape> 47 </item> 48</layer-list> 49