1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2024 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<androidx.constraintlayout.widget.ConstraintLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    android:id="@+id/clock_floating_sheet_font_content"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:paddingVertical="@dimen/floating_sheet_content_vertical_padding"
24    android:paddingHorizontal="@dimen/floating_sheet_content_horizontal_padding"
25    android:clipChildren="false"
26    android:clipToPadding="false">
27
28    <TextView
29        android:id="@+id/clock_axis_slider_name1"
30        android:layout_width="@dimen/clock_font_axis_name_width"
31        android:layout_height="wrap_content"
32        app:layout_constraintTop_toTopOf="parent"
33        app:layout_constraintBottom_toTopOf="@+id/barrier1"
34        app:layout_constraintStart_toStartOf="parent"
35        app:layout_constraintEnd_toStartOf="@+id/clock_axis_slider1"
36        android:layout_marginVertical="@dimen/clock_axis_control_slider_row_margin_vertical"
37        android:layout_marginEnd="@dimen/clock_axis_control_text_margin_end"
38        android:lines="1"
39        android:ellipsize="end"
40        style="@style/CustomizationOptionEntryTitleTextStyle"
41        android:text="@string/tab_placeholder_text" />
42
43    <SeekBar
44        android:id="@+id/clock_axis_slider1"
45        android:layout_width="0dp"
46        android:layout_height="wrap_content"
47        android:minHeight="@dimen/accessibility_min_height"
48        app:layout_constraintTop_toTopOf="parent"
49        app:layout_constraintBottom_toTopOf="@+id/barrier1"
50        app:layout_constraintStart_toEndOf="@+id/clock_axis_slider_name1"
51        app:layout_constraintEnd_toEndOf="parent"
52        android:layout_marginVertical="@dimen/clock_axis_control_slider_row_margin_vertical"
53        android:background="@null"
54        android:progressDrawable="@drawable/saturation_progress_drawable"
55        android:splitTrack="false"
56        android:thumb="@null" />
57
58    <androidx.constraintlayout.widget.Barrier
59        android:id="@+id/barrier1"
60        android:layout_width="wrap_content"
61        android:layout_height="wrap_content"
62        app:barrierDirection="bottom"
63        app:constraint_referenced_ids="clock_axis_slider1,clock_axis_slider_name1" />
64
65    <TextView
66        android:id="@+id/clock_axis_slider_name2"
67        android:layout_width="@dimen/clock_font_axis_name_width"
68        android:layout_height="wrap_content"
69        app:layout_constraintTop_toBottomOf="@+id/barrier1"
70        app:layout_constraintBottom_toTopOf="@+id/barrier2"
71        app:layout_constraintStart_toStartOf="parent"
72        app:layout_constraintEnd_toStartOf="@+id/clock_axis_slider2"
73        android:layout_marginVertical="@dimen/clock_axis_control_slider_row_margin_vertical"
74        android:layout_marginEnd="@dimen/clock_axis_control_text_margin_end"
75        android:lines="1"
76        android:ellipsize="end"
77        style="@style/CustomizationOptionEntryTitleTextStyle"
78        android:text="@string/tab_placeholder_text" />
79
80    <SeekBar
81        android:id="@+id/clock_axis_slider2"
82        android:layout_width="0dp"
83        android:layout_height="wrap_content"
84        android:minHeight="@dimen/accessibility_min_height"
85        app:layout_constraintTop_toBottomOf="@+id/barrier1"
86        app:layout_constraintBottom_toTopOf="@+id/barrier2"
87        app:layout_constraintStart_toEndOf="@+id/clock_axis_slider_name2"
88        app:layout_constraintEnd_toEndOf="parent"
89        android:layout_marginVertical="@dimen/clock_axis_control_slider_row_margin_vertical"
90        android:background="@null"
91        android:progressDrawable="@drawable/saturation_progress_drawable"
92        android:splitTrack="false"
93        android:thumb="@null" />
94
95    <androidx.constraintlayout.widget.Barrier
96        android:id="@+id/barrier2"
97        android:layout_width="wrap_content"
98        android:layout_height="wrap_content"
99        app:barrierDirection="bottom"
100        app:constraint_referenced_ids="clock_axis_slider2,clock_axis_slider_name2" />
101
102    <TextView
103        android:id="@+id/clock_axis_switch_name1"
104        android:layout_width="@dimen/clock_font_axis_name_width"
105        android:layout_height="wrap_content"
106        app:layout_constraintTop_toBottomOf="@+id/barrier2"
107        app:layout_constraintBottom_toBottomOf="parent"
108        app:layout_constraintStart_toStartOf="parent"
109        android:layout_marginVertical="@dimen/clock_axis_control_switch_row_margin_vertical"
110        android:lines="1"
111        android:ellipsize="end"
112        style="@style/CustomizationOptionEntryTitleTextStyle"
113        android:text="@string/tab_placeholder_text" />
114
115    <Switch
116        android:id="@+id/clock_axis_switch1"
117        android:layout_width="wrap_content"
118        android:layout_height="wrap_content"
119        app:layout_constraintTop_toBottomOf="@+id/barrier2"
120        app:layout_constraintBottom_toBottomOf="parent"
121        app:layout_constraintStart_toEndOf="@+id/clock_axis_switch_name1"
122        android:layout_marginVertical="@dimen/clock_axis_control_switch_row_margin_vertical"
123        android:layout_marginStart="@dimen/clock_axis_control_text_margin_end"
124        style="@style/Switch.SettingsLib" />
125
126    <ImageView
127        android:id="@+id/divider"
128        android:layout_width="wrap_content"
129        android:layout_height="wrap_content"
130        app:layout_constraintTop_toBottomOf="@+id/barrier2"
131        app:layout_constraintBottom_toBottomOf="parent"
132        app:layout_constraintStart_toStartOf="parent"
133        app:layout_constraintEnd_toEndOf="parent"
134        app:layout_constraintHorizontal_bias="0.5"
135        android:src="@drawable/clock_font_switch_divider"
136        android:importantForAccessibility="no" />
137
138    <TextView
139        android:id="@+id/clock_axis_switch_name2"
140        android:layout_width="@dimen/clock_font_axis_name_width"
141        android:layout_height="wrap_content"
142        app:layout_constraintTop_toBottomOf="@+id/barrier2"
143        app:layout_constraintBottom_toBottomOf="parent"
144        app:layout_constraintEnd_toStartOf="@+id/clock_axis_switch2"
145        android:layout_marginVertical="@dimen/clock_axis_control_switch_row_margin_vertical"
146        android:layout_marginEnd="@dimen/clock_axis_control_text_margin_end"
147        android:lines="1"
148        android:ellipsize="end"
149        style="@style/CustomizationOptionEntryTitleTextStyle"
150        android:text="@string/tab_placeholder_text" />
151
152    <Switch
153        android:id="@+id/clock_axis_switch2"
154        android:layout_width="wrap_content"
155        android:layout_height="wrap_content"
156        app:layout_constraintTop_toBottomOf="@+id/barrier2"
157        app:layout_constraintBottom_toBottomOf="parent"
158        app:layout_constraintEnd_toEndOf="parent"
159        android:layout_marginVertical="@dimen/clock_axis_control_switch_row_margin_vertical"
160        style="@style/Switch.SettingsLib" />
161</androidx.constraintlayout.widget.ConstraintLayout>