Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / drawable / seekbar_track_material.xml
blobe88a73ffef28cde9a84cd88cb2f98047f22b01cc
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="@color/control_nodisable_material">
22             <size android:height="@dimen/seekbar_track_background_height_material" />
23             <solid android:color="@color/white_disabled_material" />
24         </shape>
25     </item>
26     <item android:id="@id/secondaryProgress"
27           android:gravity="center_vertical|fill_horizontal">
28         <scale android:scaleWidth="100%">
29             <selector>
30                 <item android:state_enabled="false"
31                       android:drawable="@color/transparent" />
32                 <item>
33                     <shape android:shape="rectangle"
34                            android:tint="?attr/colorControlActivated">
35                         <size android:height="@dimen/seekbar_track_progress_height_material" />
36                         <solid android:color="@color/white_disabled_material" />
37                     </shape>
38                 </item>
39             </selector>
40         </scale>
41     </item>
42     <item android:id="@id/progress"
43           android:gravity="center_vertical|fill_horizontal">
44         <scale android:scaleWidth="100%">
45             <selector>
46                 <item android:state_enabled="false"
47                       android:drawable="@color/transparent" />
48                 <item>
49                     <shape android:shape="rectangle"
50                            android:tint="?attr/colorControlActivated">
51                         <size android:height="@dimen/seekbar_track_progress_height_material" />
52                         <solid android:color="@color/white" />
53                     </shape>
54                 </item>
55             </selector>
56         </scale>
57     </item>
58 </layer-list>