summaryrefslogtreecommitdiffstats
path: root/updater_sample/res/layout
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 11:36:01 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 11:36:01 +0200
commit5bcbbdcbf914637b6d044c652b818b0e2c07f5c5 (patch)
tree8224a5d489c8dc889e4e648cacbac206d6933790 /updater_sample/res/layout
parentSnap for 4821358 from 31b994e8e93e04e29f59ac98e845b42750668178 to qt-release (diff)
parentMerge "updater_sample: update README.md" am: 1cb7222784 am: fc824cb998 (diff)
downloadandroid_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.gz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.bz2
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.lz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.xz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.zst
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.zip
Diffstat (limited to 'updater_sample/res/layout')
-rw-r--r--updater_sample/res/layout/activity_main.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/updater_sample/res/layout/activity_main.xml b/updater_sample/res/layout/activity_main.xml
index 7cde42cec..b560827d8 100644
--- a/updater_sample/res/layout/activity_main.xml
+++ b/updater_sample/res/layout/activity_main.xml
@@ -197,6 +197,29 @@
android:text="Reset" />
</LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/buttonSuspend"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:onClick="onSuspendClick"
+ android:text="Suspend" />
+
+ <Button
+ android:id="@+id/buttonResume"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:onClick="onResumeClick"
+ android:text="Resume" />
+ </LinearLayout>
+
<TextView
android:id="@+id/textViewUpdateInfo"
android:layout_width="wrap_content"