1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 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<ScrollView
18  xmlns:android="http://schemas.android.com/apk/res/android"
19  android:layout_width="match_parent"
20  android:layout_height="match_parent">
21    <LinearLayout
22        xmlns:app="http://schemas.android.com/apk/res-auto"
23        xmlns:tools="http://schemas.android.com/tools"
24        android:layout_width="wrap_content"
25        android:layout_height="wrap_content"
26        android:padding="8dp"
27        android:orientation="vertical"
28        tools:context=".ThreadNetworkSettingsFragment" >
29
30        <Button android:id="@+id/button_join_network"
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:text="Join Network" />
34        <Button android:id="@+id/button_leave_network"
35            android:layout_width="wrap_content"
36            android:layout_height="wrap_content"
37            android:text="Leave Network" />
38
39        <TextView
40            android:layout_width="wrap_content"
41            android:layout_height="wrap_content"
42            android:textSize="16sp"
43            android:textStyle="bold"
44            android:text="State" />
45        <TextView
46            android:id="@+id/text_state"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            android:textSize="12sp"
50            android:typeface="monospace" />
51
52        <TextView
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:layout_marginTop="10dp"
56            android:textSize="16sp"
57            android:textStyle="bold"
58            android:text="Network Info" />
59        <TextView
60            android:id="@+id/text_network_info"
61            android:layout_width="wrap_content"
62            android:layout_height="wrap_content"
63            android:textSize="12sp" />
64
65        <Button android:id="@+id/button_migrate_network"
66            android:layout_width="wrap_content"
67            android:layout_height="wrap_content"
68            android:text="Migrate Network" />
69        <TextView
70            android:id="@+id/text_migrate_network_state"
71            android:layout_width="wrap_content"
72            android:layout_height="wrap_content"
73            android:textSize="12sp" />
74
75        <Button android:id="@+id/button_activate_ephemeral_key_mode"
76            android:layout_width="wrap_content"
77            android:layout_height="wrap_content"
78            android:text="Activate Ephemeral Key Mode" />
79        <Button android:id="@+id/button_deactivate_ephemeral_key_mode"
80            android:layout_width="wrap_content"
81            android:layout_height="wrap_content"
82            android:text="Deactivate Ephemeral Key Mode" />
83
84        <TextView
85            android:layout_width="wrap_content"
86            android:layout_height="wrap_content"
87            android:layout_marginTop="10dp"
88            android:textSize="16sp"
89            android:textStyle="bold"
90            android:text="Ephemeral Key State" />
91        <TextView
92            android:id="@+id/text_ephemeral_key_state"
93            android:layout_width="wrap_content"
94            android:layout_height="wrap_content"
95            android:textSize="12sp" />
96
97        <TextView
98            android:layout_height="wrap_content"
99            android:layout_width="wrap_content"
100            android:text="Configuration"
101            android:textSize="16sp"
102            android:textStyle="bold" />
103        <com.google.android.material.switchmaterial.SwitchMaterial
104            android:id="@+id/switch_nat64"
105            android:layout_width="wrap_content"
106            android:layout_height="wrap_content"
107            android:layout_weight="1"
108            android:checked="false"
109            android:text="NAT64" />
110
111    </LinearLayout>
112</ScrollView>
113