blob: 12e29e693b7a868171daa84401daaf1d8af9d66b [file] [log] [blame]
Erik Kline1ea5dd02017-10-30 15:30:18 +09001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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
jackqdyuleic7867c82018-07-13 13:23:33 -070017<ScrollView
Erik Kline1ea5dd02017-10-30 15:30:18 +090018 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
jackqdyuleic7867c82018-07-13 13:23:33 -070020 android:layout_height="wrap_content">
Erik Kline1ea5dd02017-10-30 15:30:18 +090021
jackqdyuleic7867c82018-07-13 13:23:33 -070022 <LinearLayout
Erik Kline1ea5dd02017-10-30 15:30:18 +090023 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
jackqdyuleic7867c82018-07-13 13:23:33 -070025 android:orientation="vertical"
26 android:padding="8dp">
27
28 <RadioGroup
29 android:id="@+id/private_dns_radio_group"
30 android:layout_width="match_parent"
timhypeng456285c2019-11-21 10:33:33 +080031 android:layout_height="wrap_content"
32 android:layout_marginStart="@dimen/developer_option_dialog_margin_start">
jackqdyuleic7867c82018-07-13 13:23:33 -070033
timhypeng456285c2019-11-21 10:33:33 +080034 <include
jackqdyuleic7867c82018-07-13 13:23:33 -070035 android:id="@+id/private_dns_mode_off"
timhypeng456285c2019-11-21 10:33:33 +080036 layout="@layout/preference_widget_dialog_radiobutton"/>
jackqdyuleic7867c82018-07-13 13:23:33 -070037
timhypeng456285c2019-11-21 10:33:33 +080038 <include
jackqdyuleic7867c82018-07-13 13:23:33 -070039 android:id="@+id/private_dns_mode_opportunistic"
timhypeng456285c2019-11-21 10:33:33 +080040 layout="@layout/preference_widget_dialog_radiobutton"/>
jackqdyuleic7867c82018-07-13 13:23:33 -070041
timhypeng456285c2019-11-21 10:33:33 +080042 <include
jackqdyuleic7867c82018-07-13 13:23:33 -070043 android:id="@+id/private_dns_mode_provider"
timhypeng456285c2019-11-21 10:33:33 +080044 layout="@layout/preference_widget_dialog_radiobutton"/>
jackqdyuleic7867c82018-07-13 13:23:33 -070045
46 <EditText
47 android:id="@+id/private_dns_mode_provider_hostname"
48 android:hint="@string/private_dns_mode_provider_hostname_hint"
49 style="@android:style/Widget.CompoundButton.RadioButton"
50 android:imeOptions="actionDone"
51 android:inputType="textFilter|textUri"
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
Tsung-Mao Fang4470faa2021-04-27 17:59:01 +080054 android:layout_marginStart="3dp"
jackqdyuleic7867c82018-07-13 13:23:33 -070055 android:layout_marginEnd="8dp"
timhypeng456285c2019-11-21 10:33:33 +080056 android:minHeight="@dimen/developer_option_dialog_min_height"/>
jackqdyuleic7867c82018-07-13 13:23:33 -070057 </RadioGroup>
58
timhypeng456285c2019-11-21 10:33:33 +080059 <include
jackqdyuleic7867c82018-07-13 13:23:33 -070060 android:id="@+id/private_dns_help_info"
timhypeng456285c2019-11-21 10:33:33 +080061 layout="@layout/preference_widget_dialog_summary"/>
jackqdyuleic7867c82018-07-13 13:23:33 -070062 </LinearLayout>
63
64</ScrollView>
65