Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / android / CHIPTool / app / src / main / res / layout / enter_thread_network_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent">
5
6     <RelativeLayout
7         android:layout_width="match_parent"
8         android:layout_height="match_parent">
9
10         <TextView
11             android:id="@+id/titleTv"
12             android:layout_width="match_parent"
13             android:layout_height="wrap_content"
14             android:layout_alignParentTop="true"
15             android:text="@string/enter_thread_credentials_title"
16             android:padding="16dp"
17             android:textSize="20sp"/>
18
19         <TextView
20             android:id="@+id/channelTv"
21             android:layout_width="match_parent"
22             android:layout_height="wrap_content"
23             android:layout_below="@id/titleTv"
24             android:layout_marginTop="16dp"
25             android:layout_marginHorizontal="16dp"
26             android:text="@string/enter_thread_channel_hint"
27             android:textSize="20sp"/>
28
29         <EditText
30             android:id="@+id/channelEd"
31             android:layout_width="match_parent"
32             android:layout_height="wrap_content"
33             android:layout_below="@id/channelTv"
34             android:layout_marginHorizontal="16dp"
35             android:text="@string/enter_thread_channel_text"
36             android:inputType="number"
37             android:textSize="20sp" />
38
39         <TextView
40             android:id="@+id/panIdTv"
41             android:layout_width="match_parent"
42             android:layout_height="wrap_content"
43             android:layout_below="@id/channelEd"
44             android:layout_marginTop="16dp"
45             android:layout_marginHorizontal="16dp"
46             android:text="@string/enter_thread_panid_hint"
47             android:textSize="20sp"/>
48
49         <EditText
50             android:id="@+id/panIdEd"
51             android:layout_width="match_parent"
52             android:layout_height="wrap_content"
53             android:layout_below="@id/panIdTv"
54             android:layout_marginHorizontal="16dp"
55             android:text="@string/enter_thread_panid_text"
56             android:inputType="textCapCharacters"
57             android:digits="0123456789ABCDEF"
58             android:maxLength="4"
59             android:textSize="20sp" />
60
61         <TextView
62             android:id="@+id/xpanIdTv"
63             android:layout_width="match_parent"
64             android:layout_height="wrap_content"
65             android:layout_below="@id/panIdEd"
66             android:layout_marginTop="16dp"
67             android:layout_marginHorizontal="16dp"
68             android:text="@string/enter_thread_xpanid_hint"
69             android:textSize="20sp"/>
70
71         <EditText
72             android:id="@+id/xpanIdEd"
73             android:layout_width="match_parent"
74             android:layout_height="wrap_content"
75             android:layout_below="@id/xpanIdTv"
76             android:layout_marginHorizontal="16dp"
77             android:text="@string/enter_thread_xpanid_text"
78             android:inputType="textCapCharacters"
79             android:digits="0123456789ABCDEF:"
80             android:maxLength="24"
81             android:textSize="20sp"
82             />
83
84         <TextView
85             android:id="@+id/masterKeyTv"
86             android:layout_width="match_parent"
87             android:layout_height="wrap_content"
88             android:layout_below="@id/xpanIdEd"
89             android:layout_marginTop="16dp"
90             android:layout_marginHorizontal="16dp"
91             android:text="@string/enter_thread_master_key_hint"
92             android:textSize="20sp"/>
93
94         <EditText
95             android:id="@+id/masterKeyEd"
96             android:layout_width="match_parent"
97             android:layout_height="wrap_content"
98             android:layout_below="@id/masterKeyTv"
99             android:layout_marginHorizontal="16dp"
100             android:text="@string/enter_thread_master_key_text"
101             android:inputType="textCapCharacters"
102             android:digits="0123456789ABCDEF:"
103             android:maxLength="48"
104             android:textSize="20sp"
105             />
106
107         <Button
108             android:id="@+id/saveNetworkBtn"
109             android:layout_width="wrap_content"
110             android:layout_height="wrap_content"
111             android:layout_alignParentBottom="true"
112             android:layout_alignParentEnd="true"
113             android:layout_below="@id/masterKeyEd"
114             android:padding="16dp"
115             android:layout_margin="16dp"
116             android:text="@string/enter_thread_save_network_btn"/>
117
118     </RelativeLayout>
119
120 </ScrollView>