progress_gradient.xml (949B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 6 <item android:id="@android:id/background"> 7 <shape> 8 <solid android:color="@color/progress_background_tint" /> 9 </shape> 10 </item> 11 12 <item android:id="@android:id/progress"> 13 <scale android:scaleWidth="100%"> 14 <shape> 15 <gradient 16 android:angle="0" 17 android:endColor="#00DBDE" 18 android:startColor="#FC00FF" /> 19 <corners 20 android:bottomRightRadius="3dp" 21 android:topRightRadius="3dp" /> 22 </shape> 23 </scale> 24 </item> 25 </layer-list>