blob: d9e56b4b35869e3b5140ad98cf0e737190a0a8cb [file] [log] [blame]
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
Jiachen Zhaof39362e2018-03-30 15:24:26 -07003
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07004 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Jiachen Zhaof39362e2018-03-30 15:24:26 -07007
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07008 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Jiachen Zhaof39362e2018-03-30 15:24:26 -070016
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -070018 android:orientation="vertical"
19 android:padding="4dip"
20 android:gravity="center_horizontal"
21 android:layout_width="fill_parent"
22 android:layout_height="fill_parent">
23
24 <ScrollView
25 android:layout_width="match_parent"
26 android:layout_height="match_parent"
27 android:layout_marginBottom="8dp"
28 android:layout_marginEnd="8dp"
29 android:layout_marginStart="8dp"
30 android:layout_marginTop="8dp"
31 >
32
33 <LinearLayout
34 android:layout_width="match_parent"
35 android:layout_height="0dp"
36 android:orientation="vertical">
37
38 <TextView
39 android:id="@+id/textViewBuildtitle"
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
42 android:text="Current Build:" />
43
44 <TextView
45 android:id="@+id/textViewBuild"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:text="@string/unknown" />
49
50 <Space
51 android:layout_width="match_parent"
52 android:layout_height="40dp" />
53
54 <TextView
55 android:id="@+id/textView4"
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
58 android:text="Apply an update" />
59
60 <TextView
61 android:id="@+id/textViewConfigsDirHint"
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content"
64 android:layout_marginTop="4dp"
65 android:text="Config files located in NULL"
66 android:textColor="#777"
67 android:textSize="10sp"
68 android:textStyle="italic" />
69
70 <Spinner
71 android:id="@+id/spinnerConfigs"
72 android:layout_width="match_parent"
73 android:layout_height="wrap_content"
74 android:layout_marginTop="8dp" />
75
76 <LinearLayout
77 android:layout_width="match_parent"
78 android:layout_height="wrap_content"
79 android:layout_marginTop="8dp"
80 android:orientation="horizontal">
81
82 <Button
83 android:id="@+id/buttonReload"
84 android:layout_width="0dp"
85 android:layout_height="wrap_content"
86 android:layout_weight="1"
87 android:onClick="onReloadClick"
88 android:text="Reload" />
89
90 <Button
91 android:id="@+id/buttonViewConfig"
92 android:layout_width="0dp"
93 android:layout_height="wrap_content"
94 android:layout_weight="1"
95 android:onClick="onViewConfigClick"
96 android:text="View config" />
97
98 <Button
99 android:id="@+id/buttonApplyConfig"
100 android:layout_width="0dp"
101 android:layout_height="wrap_content"
102 android:layout_weight="1"
103 android:onClick="onApplyConfigClick"
104 android:text="Apply" />
105 </LinearLayout>
106
107 <LinearLayout
108 android:layout_width="match_parent"
109 android:layout_height="wrap_content"
110 android:layout_marginTop="24dp"
111 android:orientation="horizontal">
112
113 <TextView
114 android:id="@+id/textView"
115 android:layout_width="wrap_content"
116 android:layout_height="wrap_content"
Zhomart Mukhamejanovf7a70382018-05-02 20:37:12 -0700117 android:text="Update status:" />
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -0700118
119 <TextView
120 android:id="@+id/textViewStatus"
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:layout_marginLeft="8dp"
124 android:text="@string/unknown" />
125 </LinearLayout>
126
Zhomart Mukhamejanovf7a70382018-05-02 20:37:12 -0700127
128 <LinearLayout
129 android:layout_width="match_parent"
130 android:layout_height="wrap_content"
131 android:layout_marginTop="4dp"
132 android:orientation="horizontal">
133
134 <TextView
135 android:id="@+id/textView2"
136 android:layout_width="wrap_content"
137 android:layout_height="wrap_content"
138 android:text="Update completion:" />
139
140 <TextView
141 android:id="@+id/textViewCompletion"
142 android:layout_width="wrap_content"
143 android:layout_height="wrap_content"
144 android:layout_marginLeft="8dp"
145 android:text="@string/unknown" />
146 </LinearLayout>
147
148
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -0700149 <ProgressBar
150 android:id="@+id/progressBar"
151 style="?android:attr/progressBarStyleHorizontal"
152 android:layout_marginTop="8dp"
153 android:min="0"
154 android:max="100"
155 android:layout_width="match_parent"
156 android:layout_height="wrap_content" />
157
158 <LinearLayout
159 android:layout_width="match_parent"
160 android:layout_height="wrap_content"
161 android:layout_marginTop="12dp"
162 android:orientation="horizontal">
163
164 <Button
165 android:id="@+id/buttonStop"
166 android:layout_width="0dp"
167 android:layout_height="wrap_content"
168 android:layout_weight="1"
169 android:onClick="onStopClick"
170 android:text="Stop" />
171
172 <Button
173 android:id="@+id/buttonReset"
174 android:layout_width="0dp"
175 android:layout_height="wrap_content"
176 android:layout_weight="1"
177 android:onClick="onResetClick"
178 android:text="Reset" />
179 </LinearLayout>
180
Zhomart Mukhamejanov238beb72018-05-09 16:25:40 -0700181 <TextView
182 android:id="@+id/textViewUpdateInfo"
183 android:layout_width="wrap_content"
184 android:layout_height="wrap_content"
185 android:layout_marginTop="14dp"
186 android:textColor="#777"
187 android:textSize="10sp"
188 android:textStyle="italic"
189 android:text="@string/finish_update_info" />
190
191 <Button
192 android:id="@+id/buttonSwitchSlot"
193 android:layout_width="wrap_content"
194 android:layout_height="match_parent"
195 android:onClick="onSwitchSlotClick"
196 android:text="@string/switch_slot" />
197
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -0700198 </LinearLayout>
199
200 </ScrollView>
Jiachen Zhaof39362e2018-03-30 15:24:26 -0700201
202</LinearLayout>