Adding config file for sharing.
[iot2.git] / others / lede-gui / src / main / res / layout / activity_add_device.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
3     xmlns:app="http://schemas.android.com/apk/res-auto"\r
4     xmlns:tools="http://schemas.android.com/tools"\r
5     android:id="@+id/relativeLayout"\r
6     android:layout_width="match_parent"\r
7     android:layout_height="match_parent"\r
8     android:background="@drawable/blueberry"\r
9     tools:context="com.example.lede2.AddDeviceActivity">\r
10 \r
11 \r
12     <Spinner\r
13         android:id="@+id/spinner1"\r
14         android:layout_width="match_parent"\r
15         android:layout_height="50dp"\r
16         android:layout_marginTop="16dp"\r
17         android:background="@drawable/wifibackground"\r
18         app:layout_constraintEnd_toEndOf="parent"\r
19         app:layout_constraintHorizontal_bias="1.0"\r
20         app:layout_constraintStart_toStartOf="parent"\r
21         app:layout_constraintTop_toBottomOf="@+id/textView9" />\r
22 \r
23     <Spinner\r
24         android:id="@+id/spinner2"\r
25         android:layout_width="match_parent"\r
26         android:layout_height="52dp"\r
27         android:layout_marginTop="16dp"\r
28         android:background="@drawable/wifibackground"\r
29         app:layout_constraintTop_toBottomOf="@+id/spinner1"\r
30         tools:layout_editor_absoluteX="64dp" />\r
31 \r
32     <Spinner\r
33         android:id="@+id/spinner3"\r
34         android:layout_width="match_parent"\r
35         android:layout_height="50dp"\r
36         android:layout_marginTop="16dp"\r
37         android:background="@drawable/wifibackground"\r
38         app:layout_constraintEnd_toEndOf="parent"\r
39         app:layout_constraintHorizontal_bias="0.5"\r
40         app:layout_constraintStart_toStartOf="parent"\r
41         app:layout_constraintTop_toBottomOf="@+id/spinner2" />\r
42 \r
43     <EditText\r
44         android:id="@+id/textInfo"\r
45         android:layout_width="0dp"\r
46         android:layout_height="50dp"\r
47         android:layout_marginTop="16dp"\r
48         android:background="@drawable/wifibackground"\r
49         android:ems="10"\r
50         android:inputType="textPersonName"\r
51         android:padding="10dp"\r
52         app:layout_constraintEnd_toEndOf="parent"\r
53         app:layout_constraintHorizontal_bias="0.0"\r
54         app:layout_constraintStart_toStartOf="parent"\r
55         app:layout_constraintTop_toBottomOf="@+id/spinner4"\r
56         tools:text="Hello" />\r
57 \r
58     <Spinner\r
59         android:id="@+id/spinner4"\r
60         android:layout_width="0dp"\r
61         android:layout_height="50dp"\r
62         android:layout_marginTop="16dp"\r
63         android:background="@drawable/wifibackground"\r
64         app:layout_constraintEnd_toEndOf="parent"\r
65         app:layout_constraintHorizontal_bias="0.0"\r
66         app:layout_constraintStart_toStartOf="parent"\r
67         app:layout_constraintTop_toBottomOf="@+id/spinner3" />\r
68 \r
69     <Button\r
70         android:id="@+id/doneButton"\r
71         android:layout_width="wrap_content"\r
72         android:layout_height="wrap_content"\r
73         android:layout_marginTop="16dp"\r
74         android:text="Done"\r
75         app:layout_constraintEnd_toEndOf="parent"\r
76         app:layout_constraintHorizontal_bias="0.5"\r
77         app:layout_constraintStart_toStartOf="parent"\r
78         app:layout_constraintTop_toBottomOf="@+id/textInfo" />\r
79 \r
80     <android.support.design.widget.CoordinatorLayout\r
81         android:id="@+id/done"\r
82         android:layout_width="0dp"\r
83         android:layout_height="wrap_content"\r
84         android:visibility="visible"\r
85         app:layout_constraintBottom_toBottomOf="parent"\r
86         app:layout_constraintEnd_toEndOf="parent"\r
87         app:layout_constraintHorizontal_bias="0.0"\r
88         app:layout_constraintStart_toStartOf="parent">\r
89 \r
90         <LinearLayout\r
91             android:layout_width="match_parent"\r
92             android:layout_height="wrap_content"\r
93             android:orientation="vertical" />\r
94     </android.support.design.widget.CoordinatorLayout>\r
95 \r
96     <TextView\r
97         android:id="@+id/textView9"\r
98         android:layout_width="0dp"\r
99         android:layout_height="@dimen/Button_height"\r
100         android:background="@drawable/background"\r
101         android:gravity="center"\r
102         android:text="Insert"\r
103         android:textSize="18sp"\r
104         app:layout_constraintBottom_toTopOf="@+id/spinner1"\r
105         app:layout_constraintEnd_toEndOf="parent"\r
106         app:layout_constraintHorizontal_bias="1.0"\r
107         app:layout_constraintStart_toStartOf="parent"\r
108         app:layout_constraintTop_toTopOf="parent"\r
109         app:layout_constraintVertical_bias="0.062" />\r
110 \r
111     <ProgressBar\r
112         android:id="@+id/progressBar"\r
113         style="?android:attr/progressBarStyle"\r
114         android:layout_width="wrap_content"\r
115         android:layout_height="wrap_content"\r
116         app:layout_constraintBottom_toTopOf="@+id/doneButton"\r
117         app:layout_constraintEnd_toStartOf="@+id/textInfo"\r
118         app:layout_constraintHorizontal_bias="0.5"\r
119         app:layout_constraintStart_toEndOf="@+id/textInfo"\r
120         app:layout_constraintTop_toBottomOf="@+id/textInfo" />\r
121 \r
122 </android.support.constraint.ConstraintLayout>\r