fragment_search_device.xml
5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_F2F2F2"
android:orientation="vertical">
<com.qmuiteam.qmui.widget.QMUITopBar
android:id="@+id/topbar"
android:layout_width="match_parent"
android:layout_height="?attr/qmui_topbar_height" />
<!---->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvBlueTooth"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
android:paddingTop="10dp" />
<!-- loading视图-->
<LinearLayout
android:id="@+id/ll_loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_F2F2F2"
android:gravity="center"
android:visibility="gone">
<com.wang.avi.AVLoadingIndicatorView
android:id="@+id/av_loading"
android:layout_width="50dp"
android:layout_height="50dp"
android:clickable="false"
android:focusableInTouchMode="false"
app:indicatorColor="@color/my_dialog_btn_text_color"
app:indicatorName="BallSpinFadeLoaderIndicator" />
</LinearLayout>
<!-- 未扫描到的视图-->
<LinearLayout
android:id="@+id/ll_retry"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/not_found_device"
android:textColor="@color/color_C3C3C3"
android:textSize="23sp"
android:textStyle="bold" />
<Button
android:id="@+id/btn_retry"
android:layout_width="90dp"
android:layout_height="35dp"
android:layout_marginTop="30dp"
android:background="@drawable/selector_xiaojia_btn_green"
android:text="@string/btn_retry"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:text="@string/no_found_device_tip"
android:textColor="@color/color_282828"
android:textSize="15sp" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:id="@+id/tv_not_found_device"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"
android:text="@string/not_found_device_u"
android:textColor="@color/color_999999"
android:textSize="15sp" />
<TextView
android:id="@+id/tv_previous_step"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/previous_step"
android:textColor="@color/color_23D41E"
android:textSize="15sp" />
<Button
android:id="@+id/btn_bond_device"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_margin="20dp"
android:background="@drawable/selector_xiaojia_btn_green"
android:text="@string/btn_next_step"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
</layout>