Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / android / CHIPTool / app / src / main / res / layout / commissioner_select_network_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     xmlns:tools="http://schemas.android.com/tools"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     tools:context=".SelectNetworkFragment">
8
9   <Button
10       android:id="@+id/add_device_button"
11       android:layout_width="wrap_content"
12       android:layout_height="wrap_content"
13       android:layout_marginBottom="32dp"
14       android:text="@string/commissioner_add_device"
15       app:layout_constraintBottom_toBottomOf="parent"
16       app:layout_constraintEnd_toEndOf="parent"
17       app:layout_constraintStart_toStartOf="parent" />
18
19   <ListView
20       android:id="@+id/networks"
21       style="@style/Widget.AppCompat.Light.ListView.DropDown"
22       android:layout_width="0dp"
23       android:layout_height="wrap_content"
24       android:orientation="vertical"
25       android:choiceMode="singleChoice"
26       android:listSelector="#bbbbbb"
27       app:layout_constrainedHeight="true"
28       app:layout_constraintEnd_toEndOf="parent"
29       app:layout_constraintHeight_max="240dp"
30       app:layout_constraintHeight_min="120dp"
31       app:layout_constraintHorizontal_bias="0.0"
32       app:layout_constraintStart_toStartOf="parent"
33       app:layout_constraintTop_toBottomOf="@+id/network_scan_bar"></ListView>
34
35   <TextView
36       android:id="@+id/device_info"
37       style="@style/info_text"
38       android:layout_width="wrap_content"
39       android:layout_height="wrap_content"
40       android:layout_marginTop="16dp"
41       app:layout_constraintStart_toStartOf="@+id/your_device"
42       app:layout_constraintTop_toBottomOf="@+id/your_device" />
43
44   <TextView
45       android:id="@+id/select_network"
46       style="@style/title_text"
47       android:layout_width="wrap_content"
48       android:layout_height="wrap_content"
49       android:layout_marginTop="24dp"
50       android:text="@string/commissioner_select_network"
51       app:layout_constraintStart_toStartOf="@+id/your_device"
52       app:layout_constraintTop_toBottomOf="@+id/device_info" />
53
54   <TextView
55       android:id="@+id/your_device"
56       style="@style/title_text"
57       android:layout_width="wrap_content"
58       android:layout_height="wrap_content"
59       android:layout_marginStart="2dp"
60       android:layout_marginTop="24dp"
61       android:text="@string/commissioner_your_device"
62       app:layout_constraintStart_toStartOf="parent"
63       app:layout_constraintTop_toTopOf="parent" />
64
65   <ProgressBar
66       android:id="@+id/network_scan_bar"
67       style="?android:attr/progressBarStyleHorizontal"
68       android:layout_width="match_parent"
69       android:layout_height="wrap_content"
70       android:indeterminate="true"
71       app:layout_constraintEnd_toEndOf="parent"
72       app:layout_constraintStart_toStartOf="parent"
73       app:layout_constraintTop_toBottomOf="@+id/select_network" />
74
75   <View
76       android:id="@+id/networks_bottom_separator"
77       android:layout_width="0dp"
78       android:layout_height="1dp"
79       android:layout_marginTop="2dp"
80       android:background="@android:color/darker_gray"
81       app:layout_constraintEnd_toEndOf="parent"
82       app:layout_constraintStart_toStartOf="parent"
83       app:layout_constraintTop_toBottomOf="@+id/networks" />
84
85 </androidx.constraintlayout.widget.ConstraintLayout>