blob: 4cfa7b6ae9806db97137caea00d2e55184fc6770 [file] [log] [blame]
Alan Viverette01a04f12015-12-10 14:07:51 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
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
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
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-->
16
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
Noah Wang49fabb92016-01-12 09:00:57 -080019 android:layout_height="match_parent"
20 android:fillViewport="true">
Alan Viverette01a04f12015-12-10 14:07:51 -050021
22 <LinearLayout
23 android:orientation="vertical"
24 android:layout_width="match_parent"
Noah Wang35a95612016-04-15 13:49:12 -070025 android:layout_height="wrap_content" >
Alan Viverette01a04f12015-12-10 14:07:51 -050026
Noah Wang35a95612016-04-15 13:49:12 -070027 <include layout="@layout/preview_seek_bar_view_pager" />
Alan Viverette01a04f12015-12-10 14:07:51 -050028
29 <LinearLayout
Noah Wang35a95612016-04-15 13:49:12 -070030 android:orientation="vertical"
Alan Viverette01a04f12015-12-10 14:07:51 -050031 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
Noah Wang35a95612016-04-15 13:49:12 -070033 android:paddingTop="16dp"
34 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
35 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
Alan Viverette01a04f12015-12-10 14:07:51 -050036
Noah Wang35a95612016-04-15 13:49:12 -070037 <com.android.settings.widget.DotsPageIndicator
38 android:id="@+id/page_indicator"
39 style="@style/PreviewPagerPageIndicator"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_gravity="center_horizontal"
43 android:padding="6dp" />
Alan Viverette01a04f12015-12-10 14:07:51 -050044
Noah Wang35a95612016-04-15 13:49:12 -070045 <TextView
46 android:id="@+id/current_label"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_gravity="center_horizontal"
50 android:padding="6dp"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050051 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.TextView"
Noah Wang35a95612016-04-15 13:49:12 -070052 android:elevation="2dp" />
Alan Viverette01a04f12015-12-10 14:07:51 -050053
Noah Wang35a95612016-04-15 13:49:12 -070054 <LinearLayout
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:gravity="center_vertical">
58
59 <ImageView
60 android:id="@+id/smaller"
61 android:layout_width="48dp"
62 android:layout_height="48dp"
63 android:background="?android:attr/selectableItemBackgroundBorderless"
64 android:src="@drawable/ic_remove_24dp"
65 android:tint="?android:attr/textColorPrimary"
66 android:tintMode="src_in"
67 android:scaleType="center"
68 android:focusable="true"
69 android:contentDescription="@string/screen_zoom_make_smaller_desc" />
70
71 <com.android.settings.widget.LabeledSeekBar
72 android:id="@+id/seek_bar"
73 android:layout_width="0dp"
74 android:layout_height="48dp"
75 android:layout_weight="1"
76 style="@android:style/Widget.Material.SeekBar.Discrete"/>
77
78 <ImageView
79 android:id="@+id/larger"
80 android:layout_width="48dp"
81 android:layout_height="48dp"
82 android:background="?android:attr/selectableItemBackgroundBorderless"
83 android:src="@drawable/ic_add_24dp"
84 android:tint="?android:attr/textColorPrimary"
85 android:tintMode="src_in"
86 android:scaleType="center"
87 android:focusable="true"
88 android:contentDescription="@string/screen_zoom_make_larger_desc" />
89 </LinearLayout>
90
91 <TextView
92 android:layout_width="wrap_content"
93 android:layout_height="wrap_content"
94 android:text="@string/screen_zoom_summary"
95 android:layout_marginBottom="16dp"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050096 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" />
Alan Viverette01a04f12015-12-10 14:07:51 -050097 </LinearLayout>
Alan Viverette01a04f12015-12-10 14:07:51 -050098 </LinearLayout>
99</ScrollView>