Erik Kline | 1ea5dd0 | 2017-10-30 15:30:18 +0900 | [diff] [blame] | 1 | <?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 | |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 17 | <ScrollView |
Erik Kline | 1ea5dd0 | 2017-10-30 15:30:18 +0900 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 20 | android:layout_height="wrap_content"> |
Erik Kline | 1ea5dd0 | 2017-10-30 15:30:18 +0900 | [diff] [blame] | 21 | |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 22 | <LinearLayout |
Erik Kline | 1ea5dd0 | 2017-10-30 15:30:18 +0900 | [diff] [blame] | 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="wrap_content" |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 25 | android:orientation="vertical" |
| 26 | android:padding="8dp"> |
| 27 | |
| 28 | <RadioGroup |
| 29 | android:id="@+id/private_dns_radio_group" |
| 30 | android:layout_width="match_parent" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 31 | android:layout_height="wrap_content" |
| 32 | android:layout_marginStart="@dimen/developer_option_dialog_margin_start"> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 33 | |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 34 | <include |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 35 | android:id="@+id/private_dns_mode_off" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 36 | layout="@layout/preference_widget_dialog_radiobutton"/> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 37 | |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 38 | <include |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 39 | android:id="@+id/private_dns_mode_opportunistic" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 40 | layout="@layout/preference_widget_dialog_radiobutton"/> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 41 | |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 42 | <include |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 43 | android:id="@+id/private_dns_mode_provider" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 44 | layout="@layout/preference_widget_dialog_radiobutton"/> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 45 | |
| 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 Fang | 4470faa | 2021-04-27 17:59:01 +0800 | [diff] [blame] | 54 | android:layout_marginStart="3dp" |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 55 | android:layout_marginEnd="8dp" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 56 | android:minHeight="@dimen/developer_option_dialog_min_height"/> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 57 | </RadioGroup> |
| 58 | |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 59 | <include |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 60 | android:id="@+id/private_dns_help_info" |
timhypeng | 456285c | 2019-11-21 10:33:33 +0800 | [diff] [blame] | 61 | layout="@layout/preference_widget_dialog_summary"/> |
jackqdyulei | c7867c8 | 2018-07-13 13:23:33 -0700 | [diff] [blame] | 62 | </LinearLayout> |
| 63 | |
| 64 | </ScrollView> |
| 65 | |