Update to platforms;android-28.
[android_tools.git] / sdk / platforms / android-28 / data / res / drawable / progress_horizontal_material.xml
blobd59abf41881cb0ca9a90eac0109c9ee083ae0514
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
8           http://www.apache.org/licenses/LICENSE-2.0
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
17 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
18     <item android:id="@id/background"
19           android:gravity="center_vertical|fill_horizontal">
20         <shape android:shape="rectangle"
21                android:tint="?attr/colorProgressBackgroundNormal">
22             <corners android:radius="?attr/progressBarCornerRadius" />
23             <size android:height="@dimen/progress_bar_height_material" />
24             <solid android:color="@color/white_disabled_material" />
25         </shape>
26     </item>
27     <item android:id="@id/secondaryProgress"
28           android:gravity="center_vertical|fill_horizontal">
29         <scale android:scaleWidth="100%">
30             <shape android:shape="rectangle"
31                    android:tint="?attr/colorControlActivated">
32                 <corners android:radius="?attr/progressBarCornerRadius" />
33                 <size android:height="@dimen/progress_bar_height_material" />
34                 <solid android:color="@color/white_disabled_material" />
35             </shape>
36         </scale>
37     </item>
38     <item android:id="@id/progress"
39           android:gravity="center_vertical|fill_horizontal">
40         <scale android:scaleWidth="100%">
41             <shape android:shape="rectangle"
42                    android:tint="?attr/colorControlActivated">
43                 <corners android:radius="?attr/progressBarCornerRadius" />
44                 <size android:height="@dimen/progress_bar_height_material" />
45                 <solid android:color="@color/white" />
46             </shape>
47         </scale>
48     </item>
49 </layer-list>