diff options
author | Tao Bao <tbao@google.com> | 2018-05-17 21:21:54 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-17 21:21:54 +0200 |
commit | 2ddc54f5fd1f3ae07c2c363c37561133eb161258 (patch) | |
tree | c31c7704c28bd2a54cc077781a0ba8526be63b02 /updater_sample/res/layout | |
parent | Merge "recovery: Refactor common setup into main()" (diff) | |
parent | updater_sample: add switch slot demo (diff) | |
download | android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar.gz android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar.bz2 android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar.lz android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar.xz android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.tar.zst android_bootable_recovery-2ddc54f5fd1f3ae07c2c363c37561133eb161258.zip |
Diffstat (limited to 'updater_sample/res/layout')
-rw-r--r-- | updater_sample/res/layout/activity_main.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/updater_sample/res/layout/activity_main.xml b/updater_sample/res/layout/activity_main.xml index 7a12d3474..d9e56b4b3 100644 --- a/updater_sample/res/layout/activity_main.xml +++ b/updater_sample/res/layout/activity_main.xml @@ -178,6 +178,23 @@ android:text="Reset" /> </LinearLayout> + <TextView + android:id="@+id/textViewUpdateInfo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="14dp" + android:textColor="#777" + android:textSize="10sp" + android:textStyle="italic" + android:text="@string/finish_update_info" /> + + <Button + android:id="@+id/buttonSwitchSlot" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:onClick="onSwitchSlotClick" + android:text="@string/switch_slot" /> + </LinearLayout> </ScrollView> |