diff options
author | Ben Cheng <bccheng@google.com> | 2013-09-16 12:12:51 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2013-09-16 12:12:51 -0700 |
commit | f9e0f5b7cf88b3853bc9638e7eaa44ced72601bb (patch) | |
tree | cfcfda5010e6f3c56aa54debb3f01714e89bfe15 /tutorials/MoarRam/res/layout/activity_main.xml | |
parent | 6fa1156b3b98e72952e1281b66af9867205e1954 (diff) | |
download | android_development-f9e0f5b7cf88b3853bc9638e7eaa44ced72601bb.tar.gz android_development-f9e0f5b7cf88b3853bc9638e7eaa44ced72601bb.tar.bz2 android_development-f9e0f5b7cf88b3853bc9638e7eaa44ced72601bb.zip |
Add "Force a Double Free" button to stress test the tools.
Change-Id: I52bf2f42c9a6040ac345248473d7184b7266f511
Diffstat (limited to 'tutorials/MoarRam/res/layout/activity_main.xml')
-rw-r--r-- | tutorials/MoarRam/res/layout/activity_main.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tutorials/MoarRam/res/layout/activity_main.xml b/tutorials/MoarRam/res/layout/activity_main.xml index 8319bd76e..50b674593 100644 --- a/tutorials/MoarRam/res/layout/activity_main.xml +++ b/tutorials/MoarRam/res/layout/activity_main.xml @@ -101,4 +101,19 @@ android:layout_weight="1" android:onClick="freeVariableSizedBlocks" /> </LinearLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="horizontal"> + + <Button + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:text="@string/force_double_free" + android:layout_weight="1" + android:onClick="forceDoubleFree" /> + </LinearLayout> + </LinearLayout> |