1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2023 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:id="@+id/color_selector_root_view"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:padding="20dp"
22    android:clipToPadding="false"
23    android:scrollbarStyle="outsideOverlay">
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:minHeight="?android:attr/listPreferredItemHeight"
28        android:orientation="vertical">
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:layout_marginBottom="10dp"
33            android:orientation="horizontal">
34
35            <RadioButton
36                android:id="@+id/color_radio_button_00"
37                android:layout_width="@dimen/screen_flash_color_button_frame_size"
38                android:layout_height="@dimen/screen_flash_color_button_frame_size"
39                android:button="@drawable/screen_flash_color_01_selector"
40                android:contentDescription="@string/screen_flash_color_blue" />
41
42            <Space
43                android:layout_width="0dp"
44                android:layout_height="wrap_content"
45                android:layout_weight="1" />
46
47            <RadioButton
48                android:id="@+id/color_radio_button_01"
49                android:layout_width="@dimen/screen_flash_color_button_frame_size"
50                android:layout_height="@dimen/screen_flash_color_button_frame_size"
51                android:button="@drawable/screen_flash_color_02_selector"
52                android:contentDescription="@string/screen_flash_color_azure" />
53
54            <Space
55                android:layout_width="0dp"
56                android:layout_height="wrap_content"
57                android:layout_weight="1" />
58
59            <RadioButton
60                android:id="@+id/color_radio_button_02"
61                android:layout_width="@dimen/screen_flash_color_button_frame_size"
62                android:layout_height="@dimen/screen_flash_color_button_frame_size"
63                android:button="@drawable/screen_flash_color_03_selector"
64                android:contentDescription="@string/screen_flash_color_cyan" />
65
66            <Space
67                android:layout_width="0dp"
68                android:layout_height="wrap_content"
69                android:layout_weight="1" />
70
71            <RadioButton
72                android:id="@+id/color_radio_button_03"
73                android:layout_width="@dimen/screen_flash_color_button_frame_size"
74                android:layout_height="@dimen/screen_flash_color_button_frame_size"
75                android:button="@drawable/screen_flash_color_04_selector"
76                android:contentDescription="@string/screen_flash_color_spring_green" />
77        </LinearLayout>
78
79        <LinearLayout
80            android:layout_width="match_parent"
81            android:layout_height="wrap_content"
82            android:layout_marginBottom="10dp"
83            android:orientation="horizontal">
84
85            <RadioButton
86                android:id="@+id/color_radio_button_04"
87                android:layout_width="@dimen/screen_flash_color_button_frame_size"
88                android:layout_height="@dimen/screen_flash_color_button_frame_size"
89                android:button="@drawable/screen_flash_color_05_selector"
90                android:contentDescription="@string/screen_flash_color_green" />
91
92            <Space
93                android:layout_width="0dp"
94                android:layout_height="wrap_content"
95                android:layout_weight="1" />
96
97            <RadioButton
98                android:id="@+id/color_radio_button_05"
99                android:layout_width="@dimen/screen_flash_color_button_frame_size"
100                android:layout_height="@dimen/screen_flash_color_button_frame_size"
101                android:button="@drawable/screen_flash_color_06_selector"
102                android:contentDescription="@string/screen_flash_color_chartreuse_green" />
103
104
105            <Space
106                android:layout_width="0dp"
107                android:layout_height="wrap_content"
108                android:layout_weight="1" />
109            <RadioButton
110                android:id="@+id/color_radio_button_06"
111                android:layout_width="@dimen/screen_flash_color_button_frame_size"
112                android:layout_height="@dimen/screen_flash_color_button_frame_size"
113                android:button="@drawable/screen_flash_color_07_selector"
114                android:contentDescription="@string/screen_flash_color_yellow" />
115
116            <Space
117                android:layout_width="0dp"
118                android:layout_height="wrap_content"
119                android:layout_weight="1" />
120
121            <RadioButton
122                android:id="@+id/color_radio_button_07"
123                android:layout_width="@dimen/screen_flash_color_button_frame_size"
124                android:layout_height="@dimen/screen_flash_color_button_frame_size"
125                android:button="@drawable/screen_flash_color_08_selector"
126                android:contentDescription="@string/screen_flash_color_orange" />
127        </LinearLayout>
128
129        <LinearLayout
130            android:layout_width="match_parent"
131            android:layout_height="wrap_content"
132            android:layout_marginBottom="10dp"
133            android:orientation="horizontal">
134
135            <RadioButton
136                android:id="@+id/color_radio_button_08"
137                android:layout_width="@dimen/screen_flash_color_button_frame_size"
138                android:layout_height="@dimen/screen_flash_color_button_frame_size"
139                android:button="@drawable/screen_flash_color_09_selector"
140                android:contentDescription="@string/screen_flash_color_red" />
141
142            <Space
143                android:layout_width="0dp"
144                android:layout_height="wrap_content"
145                android:layout_weight="1" />
146
147            <RadioButton
148                android:id="@+id/color_radio_button_09"
149                android:layout_width="@dimen/screen_flash_color_button_frame_size"
150                android:layout_height="@dimen/screen_flash_color_button_frame_size"
151                android:button="@drawable/screen_flash_color_10_selector"
152                android:contentDescription="@string/screen_flash_color_rose" />
153
154            <Space
155                android:layout_width="0dp"
156                android:layout_height="wrap_content"
157                android:layout_weight="1" />
158
159            <RadioButton
160                android:id="@+id/color_radio_button_10"
161                android:layout_width="@dimen/screen_flash_color_button_frame_size"
162                android:layout_height="@dimen/screen_flash_color_button_frame_size"
163                android:button="@drawable/screen_flash_color_11_selector"
164                android:contentDescription="@string/screen_flash_color_magenta" />
165
166            <Space
167                android:layout_width="0dp"
168                android:layout_height="wrap_content"
169                android:layout_weight="1" />
170
171            <RadioButton
172                android:id="@+id/color_radio_button_11"
173                android:layout_width="@dimen/screen_flash_color_button_frame_size"
174                android:layout_height="@dimen/screen_flash_color_button_frame_size"
175                android:button="@drawable/screen_flash_color_12_selector"
176                android:contentDescription="@string/screen_flash_color_violet" />
177
178        </LinearLayout>
179    </LinearLayout>
180</ScrollView>
181