1
wxr
2023-04-23 2cd55265ccff3b0a267d7953b2dd9e5dca437aa6
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/wifi_config_bg"
    android:gravity="center">
 
    <LinearLayout
        android:layout_width="350dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:gravity="center">
 
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:src="@drawable/link_account2"/>
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/config_wifi_succeed"
            android:textColor="@color/gray_text"
            android:textSize="20dp"
            android:layout_marginTop="30dp"/>
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/adding_device_to_your_account"
            android:layout_marginTop="20dp"
            android:textSize="20dp"
            android:textStyle="bold"
            android:textColor="@color/green_text"/>
 
        <RelativeLayout
            android:layout_width="300dp"
            android:layout_height="150dp"
            android:gravity="center"
            android:layout_marginTop="20dp">
 
            <ProgressBar
                android:id="@+id/app_progress_bar_add_device"
                android:layout_width="50dp"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"/>
 
            <LinearLayout
                android:id="@+id/app_vg_failed_to_add_device"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:gravity="center_horizontal"
                android:visibility="invisible">
 
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/add_device_fail"
                    android:textColor="@color/red"
                    android:textSize="15dp"
                    android:layout_marginBottom="30dp"/>
 
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content">
 
                    <Button
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="@string/retry"
                        android:onClick="onClickRetryAddDevice"/>
 
                    <Button
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="@string/give_up_adding"
                        android:layout_marginLeft="20dp"
                        android:onClick="onClickGiveUpAddDevice"/>
 
                </LinearLayout>
 
            </LinearLayout>
 
        </RelativeLayout>
 
 
    </LinearLayout>
 
</RelativeLayout>