diff options
| author | Joe Malin <jmalin@google.com> | 2010-04-20 19:54:58 -0700 |
|---|---|---|
| committer | Dirk Dougherty <ddougherty@google.com> | 2010-05-07 09:48:47 -0700 |
| commit | 527cfd6ef30a92a679aa2fff3d57f7024cebf609 (patch) | |
| tree | 3a0467365022e820ca6d56017912abb716a34feb /samples/Spinner | |
| parent | 2f0b1c1335f6212889633e170d71c56dba70e78e (diff) | |
| download | android_development-527cfd6ef30a92a679aa2fff3d57f7024cebf609.tar.gz android_development-527cfd6ef30a92a679aa2fff3d57f7024cebf609.tar.bz2 android_development-527cfd6ef30a92a679aa2fff3d57f7024cebf609.zip | |
Doc change: cherry-pick from master: Files for the Spinner and SpinnerTest sample applications...
Change-Id: Ic4a1d28ea821ab7e35255d5a62ca0978cb9155ba
Diffstat (limited to 'samples/Spinner')
| -rw-r--r-- | samples/Spinner/_index.html | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/samples/Spinner/_index.html b/samples/Spinner/_index.html index 2e50d9d88..babe099dc 100644 --- a/samples/Spinner/_index.html +++ b/samples/Spinner/_index.html @@ -1,22 +1,21 @@ <p> -This sample is the application under test for the -<a href="../../../resources/tutorials/testing/activity_test.html">Activity - Testing Tutorial</a>. It contains a single Activity that displays a -Spinner widget backed by an array of strings containing the names of the planets -in the Solar System. When an entry is selected from the Spinner, the entry is -displayed in a text box. +This sample is a simple application that serves as an application under test +for the <a href="../SpinnerTest/index.html">SpinnerTest</a> test application example. </p> <p> -An important part of this application is state management. When the application -is first run, the spinner widget displays a default selection of -"Earth". Thereafter, the application saves a selection as soon as it +This application illustrates basic state management across the Android application life cycle, +mainly for the purpose of highlighting common patterns of Activity testing. When the application +is first run, the spinner widget displays a default selection of "Earth". +Thereafter, the application saves a selection as soon as it is made. The application remembers the selection from invocation to invocation, even if the device reboots. </p> <p> -For more information about this application, see the Activity Testing Tutorial. -The test application for this application is in the <a - href="../SpinnerTest/index.html">SpinnerTest</a> sample application. +The test application <a href="../SpinnerTest/index.html">SpinnerTest</a> +shows you how to set up tests to monitor and prevent code regressions in the +management of state across invocations and power cycles. +</p> +<p> +For more information about this application, see the +<a href="../../../resources/tutorials/testing/activity_test.html">Activity Testing</a> tutorial. </p> - -<img alt="The Spinner application" src="../images/testing/spinner_main_screen.png" /> |
