blob: 3cd772107a493571f97f601747f6a11fc4b6f954 [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"
117 android:text="Running update status:" />
118
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
127 <ProgressBar
128 android:id="@+id/progressBar"
129 style="?android:attr/progressBarStyleHorizontal"
130 android:layout_marginTop="8dp"
131 android:min="0"
132 android:max="100"
133 android:layout_width="match_parent"
134 android:layout_height="wrap_content" />
135
136 <LinearLayout
137 android:layout_width="match_parent"
138 android:layout_height="wrap_content"
139 android:layout_marginTop="12dp"
140 android:orientation="horizontal">
141
142 <Button
143 android:id="@+id/buttonStop"
144 android:layout_width="0dp"
145 android:layout_height="wrap_content"
146 android:layout_weight="1"
147 android:onClick="onStopClick"
148 android:text="Stop" />
149
150 <Button
151 android:id="@+id/buttonReset"
152 android:layout_width="0dp"
153 android:layout_height="wrap_content"
154 android:layout_weight="1"
155 android:onClick="onResetClick"
156 android:text="Reset" />
157 </LinearLayout>
158
159 </LinearLayout>
160
161 </ScrollView>
Jiachen Zhaof39362e2018-03-30 15:24:26 -0700162
163</LinearLayout>