diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-06-07 04:04:19 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-06-07 04:04:19 +0200 |
commit | 26e8689f609702c9a27a6aebb1309bca32ad1e1a (patch) | |
tree | be57debd4318f1707553b1aef25450e038730a4b /updater_sample/res | |
parent | Merge "updater: Replace the reference arguments with pointers." am: cef8431fed am: 9c22d924e8 (diff) | |
parent | Merge "updater_sample: Add suspend/resume update" am: 382691fbb0 (diff) | |
download | android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar.gz android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar.bz2 android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar.lz android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar.xz android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.tar.zst android_bootable_recovery-26e8689f609702c9a27a6aebb1309bca32ad1e1a.zip |
Diffstat (limited to 'updater_sample/res')
-rw-r--r-- | updater_sample/res/layout/activity_main.xml | 23 |
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" |