1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2010 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
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19        android:layout_width="match_parent" android:layout_height="match_parent"
20        android:layout_marginStart="40dp" android:layout_marginEnd="40dp"
21        android:layout_marginTop="15dp" android:layout_marginBottom="15dp"
22        android:orientation="vertical">
23    <LinearLayout
24            android:layout_width="wrap_content" android:layout_height="wrap_content"
25            android:layout_gravity="center_horizontal"
26            android:orientation="horizontal" android:baselineAligned="true">
27        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
28                android:layout_marginStart="10dp" android:layout_marginEnd="10dp"
29                android:textColor="?android:attr/textColorPrimary"
30                android:textSize="18sp"
31                android:text="@string/screen_compat_mode_scale"
32                />
33        <Switch
34                android:id="@+id/compat_checkbox"
35                android:layout_width="wrap_content"
36                android:layout_height="wrap_content"
37                android:layout_gravity="center_vertical"
38                android:layout_marginEnd="10dp"
39                />
40    </LinearLayout>
41
42    <View android:layout_width="wrap_content" android:layout_height="1dp"
43            android:layout_marginTop="10dp" android:layout_marginBottom="10dp"
44            android:background="@android:drawable/divider_horizontal_dark"
45            />
46
47    <CheckBox android:id="@+id/ask_checkbox"
48            android:layout_width="wrap_content" android:layout_height="wrap_content"
49            android:layout_gravity="center_horizontal"
50            android:text="@string/screen_compat_mode_show"
51            />
52    <TextView
53        android:id="@+id/reask_hint"
54        android:layout_width="match_parent"
55        android:layout_height="wrap_content"
56        android:textAppearance="?android:attr/textAppearanceSmall"
57        android:gravity="center"
58        android:visibility="invisible"
59        android:text="@string/screen_compat_mode_hint" />
60</LinearLayout>
61