Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2018 The Android Open Source Project |
Jiachen Zhao | f39362e | 2018-03-30 15:24:26 -0700 | [diff] [blame] | 3 | |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 4 | 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 Zhao | f39362e | 2018-03-30 15:24:26 -0700 | [diff] [blame] | 7 | |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 8 | 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 Zhao | f39362e | 2018-03-30 15:24:26 -0700 | [diff] [blame] | 16 | |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 18 | 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 |
Zhomart Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 114 | android:id="@+id/textView3" |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 115 | android:layout_width="wrap_content" |
| 116 | android:layout_height="wrap_content" |
Zhomart Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 117 | android:text="Updater state:" /> |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 118 | |
| 119 | <TextView |
Zhomart Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 120 | android:id="@+id/textViewUpdaterState" |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 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 Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 127 | <LinearLayout |
| 128 | android:layout_width="match_parent" |
| 129 | android:layout_height="wrap_content" |
| 130 | android:layout_marginTop="4dp" |
| 131 | android:orientation="horizontal"> |
| 132 | |
| 133 | <TextView |
| 134 | android:id="@+id/textView" |
| 135 | android:layout_width="wrap_content" |
| 136 | android:layout_height="wrap_content" |
| 137 | android:text="Engine status:" /> |
| 138 | |
| 139 | <TextView |
| 140 | android:id="@+id/textViewEngineStatus" |
| 141 | android:layout_width="wrap_content" |
| 142 | android:layout_height="wrap_content" |
| 143 | android:layout_marginLeft="8dp" |
| 144 | android:text="@string/unknown" /> |
| 145 | </LinearLayout> |
Zhomart Mukhamejanov | f7a7038 | 2018-05-02 20:37:12 -0700 | [diff] [blame] | 146 | |
| 147 | <LinearLayout |
| 148 | android:layout_width="match_parent" |
| 149 | android:layout_height="wrap_content" |
| 150 | android:layout_marginTop="4dp" |
| 151 | android:orientation="horizontal"> |
| 152 | |
| 153 | <TextView |
| 154 | android:id="@+id/textView2" |
| 155 | android:layout_width="wrap_content" |
| 156 | android:layout_height="wrap_content" |
Zhomart Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 157 | android:text="Engine error:" /> |
Zhomart Mukhamejanov | f7a7038 | 2018-05-02 20:37:12 -0700 | [diff] [blame] | 158 | |
| 159 | <TextView |
Zhomart Mukhamejanov | 8f4059d | 2018-05-18 10:15:31 -0700 | [diff] [blame] | 160 | android:id="@+id/textViewEngineErrorCode" |
Zhomart Mukhamejanov | f7a7038 | 2018-05-02 20:37:12 -0700 | [diff] [blame] | 161 | android:layout_width="wrap_content" |
| 162 | android:layout_height="wrap_content" |
| 163 | android:layout_marginLeft="8dp" |
| 164 | android:text="@string/unknown" /> |
| 165 | </LinearLayout> |
| 166 | |
| 167 | |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 168 | <ProgressBar |
| 169 | android:id="@+id/progressBar" |
| 170 | style="?android:attr/progressBarStyleHorizontal" |
| 171 | android:layout_marginTop="8dp" |
| 172 | android:min="0" |
| 173 | android:max="100" |
| 174 | android:layout_width="match_parent" |
| 175 | android:layout_height="wrap_content" /> |
| 176 | |
| 177 | <LinearLayout |
| 178 | android:layout_width="match_parent" |
| 179 | android:layout_height="wrap_content" |
| 180 | android:layout_marginTop="12dp" |
| 181 | android:orientation="horizontal"> |
| 182 | |
| 183 | <Button |
| 184 | android:id="@+id/buttonStop" |
| 185 | android:layout_width="0dp" |
| 186 | android:layout_height="wrap_content" |
| 187 | android:layout_weight="1" |
| 188 | android:onClick="onStopClick" |
| 189 | android:text="Stop" /> |
| 190 | |
| 191 | <Button |
| 192 | android:id="@+id/buttonReset" |
| 193 | android:layout_width="0dp" |
| 194 | android:layout_height="wrap_content" |
| 195 | android:layout_weight="1" |
| 196 | android:onClick="onResetClick" |
| 197 | android:text="Reset" /> |
| 198 | </LinearLayout> |
| 199 | |
Zhomart Mukhamejanov | 238beb7 | 2018-05-09 16:25:40 -0700 | [diff] [blame] | 200 | <TextView |
| 201 | android:id="@+id/textViewUpdateInfo" |
| 202 | android:layout_width="wrap_content" |
| 203 | android:layout_height="wrap_content" |
| 204 | android:layout_marginTop="14dp" |
| 205 | android:textColor="#777" |
| 206 | android:textSize="10sp" |
| 207 | android:textStyle="italic" |
| 208 | android:text="@string/finish_update_info" /> |
| 209 | |
| 210 | <Button |
| 211 | android:id="@+id/buttonSwitchSlot" |
| 212 | android:layout_width="wrap_content" |
| 213 | android:layout_height="match_parent" |
| 214 | android:onClick="onSwitchSlotClick" |
| 215 | android:text="@string/switch_slot" /> |
| 216 | |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 217 | </LinearLayout> |
| 218 | |
| 219 | </ScrollView> |
Jiachen Zhao | f39362e | 2018-03-30 15:24:26 -0700 | [diff] [blame] | 220 | |
| 221 | </LinearLayout> |