Searched defs:spinner (Results 1 - 2 of 2) sorted by relevance

/development/samples/SpinnerTest/src/com/android/example/spinner/test/
H A DSpinnerActivityTest.java17 package com.android.example.spinner.test;
19 import com.android.example.spinner.SpinnerActivity;
41 // Number of items in the spinner's backing mLocalAdapter
49 // Set the initial position of the spinner to zero
71 // String displayed in the spinner in the app under test
75 // The currently selected position in the spinner in the app under test
99 super("com.android.example.spinner", SpinnerActivity.class);
135 mSpinner = (Spinner)mActivity.findViewById(com.android.example.spinner.R.id.Spinner01);
156 * Test that the spinner's backing mLocalAdapter was initialized correctly.
170 * if the resulting spinner stat
[all...]
/development/samples/Spinner/src/com/android/example/spinner/
H A DSpinnerActivity.java17 package com.android.example.spinner;
19 import com.android.example.spinner.R;
34 * Displays an Android spinner widget backed by data in an array. The
40 * Fields to contain the current position and display contents of the spinner
46 * ArrayAdapter connects the spinner widget to array-based data.
51 * The initial position of the spinner when it is first installed.
87 * 2) Reads the spinner's backing data from the string resources file
89 * spinner
107 Spinner spinner = (Spinner) findViewById(R.id.Spinner01);
118 * Attach the mLocalAdapter to the spinner
[all...]

Completed in 50 milliseconds