Add version 25.0.2 of dx.jar to sdk/build-tools.
[android_tools.git] / sdk / platforms / android-27 / data / res / layout / preference_widget_seekbar.xml
blob0c6dbf1f2400566e2f2ccc569714257002a8a7ce
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2011 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 <!-- Layout used by SeekBarPreference for the seekbar widget style. -->
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="wrap_content"
21     android:minHeight="?android:attr/listPreferredItemHeight"
22     android:gravity="center_vertical"
23     android:paddingEnd="?android:attr/scrollbarSize">
25     <LinearLayout
26         android:layout_width="wrap_content"
27         android:layout_height="match_parent"
28         android:gravity="center"
29         android:minWidth="@dimen/preference_icon_minWidth"
30         android:orientation="horizontal">
31         <ImageView
32             android:id="@+android:id/icon"
33             android:layout_width="wrap_content"
34             android:layout_height="wrap_content"
35             android:layout_gravity="center"
36             android:minWidth="48dp"
37             />
38     </LinearLayout>
40     <RelativeLayout
41         android:layout_width="wrap_content"
42         android:layout_height="wrap_content"
43         android:layout_marginStart="16dip"
44         android:layout_marginEnd="8dip"
45         android:layout_marginTop="6dip"
46         android:layout_marginBottom="6dip"
47         android:layout_weight="1">
49         <TextView android:id="@+android:id/title"
50             android:layout_width="wrap_content"
51             android:layout_height="wrap_content"
52             android:singleLine="true"
53             android:textAppearance="?android:attr/textAppearanceLarge"
54             android:ellipsize="marquee"
55             android:fadingEdge="horizontal" />
57         <TextView android:id="@+android:id/summary"
58             android:layout_width="wrap_content"
59             android:layout_height="wrap_content"
60             android:layout_below="@android:id/title"
61             android:layout_alignStart="@android:id/title"
62             android:textAppearance="?android:attr/textAppearanceSmall"
63             android:textColor="?android:attr/textColorSecondary"
64             android:maxLines="4" />
66         <!-- Preference should place its actual preference widget here. -->
67         <LinearLayout android:id="@+android:id/widget_frame"
68             android:layout_width="wrap_content"
69             android:layout_height="match_parent"
70             android:layout_below="@android:id/summary"
71             android:layout_alignStart="@android:id/title"
72             android:minWidth="@dimen/preference_widget_width"
73             android:gravity="center"
74             android:orientation="vertical" />
76         <SeekBar android:id="@+android:id/seekbar"
77             android:layout_width="match_parent"
78             android:layout_height="wrap_content"
79             android:layout_below="@android:id/summary"
80             android:layout_toEndOf="@android:id/widget_frame"
81             android:layout_alignParentEnd="true" />
83     </RelativeLayout>
85 </LinearLayout>