diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-06-07 02:49:09 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-07 02:49:09 +0200 |
commit | 382691fbb08e4202ee8ee31f8f48c1aec42ec0e2 (patch) | |
tree | ffcbbbc2310c7989c26dfbdb937f347680c0cad8 /updater_sample/res/layout/activity_main.xml | |
parent | Merge "updater: Replace the reference arguments with pointers." (diff) | |
parent | updater_sample: Add suspend/resume update (diff) | |
download | android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar.gz android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar.bz2 android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar.lz android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar.xz android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.tar.zst android_bootable_recovery-382691fbb08e4202ee8ee31f8f48c1aec42ec0e2.zip |
Diffstat (limited to 'updater_sample/res/layout/activity_main.xml')
-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" |