blob: 42ad988d957e5529d19879ed49f2ddbfc438a4cf [file] [log] [blame]
Mehdi Alizadeh054d2a52019-12-13 15:22:25 -08001<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4 ~ Copyright (C) 2019 The Android Open Source Project
5 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License
17 -->
18
19<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:gravity="center_vertical"
22 android:layout_height="wrap_content"
23 android:orientation="vertical"
24 android:paddingStart="56dp"
25 android:paddingEnd="8dp"
26 android:paddingTop="16dp"
27 android:paddingBottom="8dp">
28
29 <TextView
30 android:id="@android:id/title"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:layout_marginStart="16dp"
34 android:layout_alignParentTop="true"
35 android:ellipsize="marquee"
36 android:fadingEdge="horizontal"
37 android:singleLine="true"
38 android:textAppearance="@android:style/TextAppearance.Material.Subhead"
39 android:textColor="?android:attr/textColorPrimary" />
40
41 <SeekBar
42 android:id="@*android:id/seekbar"
43 android:layout_below="@android:id/title"
44 android:layout_gravity="center_vertical"
45 android:layout_width="match_parent"
46 android:layout_height="70dp"
47 android:layout_marginTop="-20dp"
48 android:layout_marginBottom="-28dp"
49 style="@android:style/Widget.Material.SeekBar.Discrete" />
50
51 <LinearLayout
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
54 android:layout_below="@*android:id/seekbar"
55 android:paddingBottom="8dp"
56 android:orientation="horizontal">
57
58 <TextView
59 android:id="@android:id/text1"
60 android:layout_marginStart="16dp"
61 android:layout_width="0dp"
62 android:layout_height="wrap_content"
63 android:layout_gravity="start|top"
64 android:gravity="start"
Mehdi Alizadeh054d2a52019-12-13 15:22:25 -080065 android:layout_weight="1"/>
66
67 <TextView
68 android:id="@android:id/text2"
69 android:layout_marginEnd="16dp"
70 android:layout_width="0dp"
71 android:layout_height="wrap_content"
72 android:layout_gravity="end|top"
73 android:gravity="end"
Mehdi Alizadeh054d2a52019-12-13 15:22:25 -080074 android:layout_weight="1"/>
75
76 </LinearLayout>
77
78</RelativeLayout>
79