summaryrefslogtreecommitdiffstats
path: root/updater_sample/res
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-25 20:18:38 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-25 20:18:38 +0200
commit22fb42b53f6a6d41d74aff0f6793992ba10713a5 (patch)
treeccc91cca6a44933e929b3408f82382d01983274b /updater_sample/res
parentMerge "tests: Setup last_command_file for UpdaterTest." am: d1e0cda4d6 (diff)
parentMerge "updater_sample: add updater state" (diff)
downloadandroid_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar.gz
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar.bz2
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar.lz
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar.xz
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.tar.zst
android_bootable_recovery-22fb42b53f6a6d41d74aff0f6793992ba10713a5.zip
Diffstat (limited to 'updater_sample/res')
-rw-r--r--updater_sample/res/layout/activity_main.xml29
1 files changed, 24 insertions, 5 deletions
diff --git a/updater_sample/res/layout/activity_main.xml b/updater_sample/res/layout/activity_main.xml
index d9e56b4b3..7cde42cec 100644
--- a/updater_sample/res/layout/activity_main.xml
+++ b/updater_sample/res/layout/activity_main.xml
@@ -111,19 +111,38 @@
android:orientation="horizontal">
<TextView
- android:id="@+id/textView"
+ android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Update status:" />
+ android:text="Updater state:" />
<TextView
- android:id="@+id/textViewStatus"
+ android:id="@+id/textViewUpdaterState"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="@string/unknown" />
</LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/textView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Engine status:" />
+
+ <TextView
+ android:id="@+id/textViewEngineStatus"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dp"
+ android:text="@string/unknown" />
+ </LinearLayout>
<LinearLayout
android:layout_width="match_parent"
@@ -135,10 +154,10 @@
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Update completion:" />
+ android:text="Engine error:" />
<TextView
- android:id="@+id/textViewCompletion"
+ android:id="@+id/textViewEngineErrorCode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"