Index: trunk/08.SprinnerTest/default.properties
===================================================================
--- trunk/08.SprinnerTest/default.properties (revision 21)
+++ trunk/08.SprinnerTest/default.properties (revision 21)
@@ -0,0 +1,13 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Indicates whether an apk should be generated for each density.
+split.density=false
+# Project target.
+target=android-7
Index: trunk/08.SprinnerTest/.classpath
===================================================================
--- trunk/08.SprinnerTest/.classpath (revision 21)
+++ trunk/08.SprinnerTest/.classpath (revision 21)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
Index: trunk/08.SprinnerTest/.project
===================================================================
--- trunk/08.SprinnerTest/.project (revision 21)
+++ trunk/08.SprinnerTest/.project (revision 21)
@@ -0,0 +1,33 @@
+
+
+ 08.SprinnerTest
+
+
+
+
+
+ com.android.ide.eclipse.adt.ResourceManagerBuilder
+
+
+
+
+ com.android.ide.eclipse.adt.PreCompilerBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.android.ide.eclipse.adt.ApkBuilder
+
+
+
+
+
+ com.android.ide.eclipse.adt.AndroidNature
+ org.eclipse.jdt.core.javanature
+
+
Index: trunk/08.SprinnerTest/AndroidManifest.xml
===================================================================
--- trunk/08.SprinnerTest/AndroidManifest.xml (revision 21)
+++ trunk/08.SprinnerTest/AndroidManifest.xml (revision 21)
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: trunk/08.SprinnerTest/src/soo/ui/array/SprinnerTest.java
===================================================================
--- trunk/08.SprinnerTest/src/soo/ui/array/SprinnerTest.java (revision 21)
+++ trunk/08.SprinnerTest/src/soo/ui/array/SprinnerTest.java (revision 21)
@@ -0,0 +1,28 @@
+package soo.ui.array;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.ArrayAdapter;
+import android.widget.AutoCompleteTextView;
+import android.widget.Spinner;
+
+public class SprinnerTest extends Activity {
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+
+ Spinner sn = (Spinner)findViewById(R.id.sn);
+ ArrayAdapter aa1 =ArrayAdapter.createFromResource(this, R.array.singer,android.R.layout.simple_spinner_item);
+
+ aa1.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ sn.setAdapter(aa1);
+
+ AutoCompleteTextView ac = (AutoCompleteTextView)findViewById(R.id.ac);
+ ArrayAdapter aa2 = ArrayAdapter.createFromResource(this, R.array.singer, android.R.layout.simple_dropdown_item_1line);
+
+ ac.setAdapter(aa2);
+
+ }
+}
Index: trunk/08.SprinnerTest/res/values/arrays.xml
===================================================================
--- trunk/08.SprinnerTest/res/values/arrays.xml (revision 21)
+++ trunk/08.SprinnerTest/res/values/arrays.xml (revision 21)
@@ -0,0 +1,13 @@
+
+
+
+ - aaaaaa
+ - aaabbb
+ - aaaccc
+ - aaaddd
+ - aaaeee
+ - aaafff
+ - aa
+ - ccc
+
+
Index: trunk/08.SprinnerTest/res/values/strings.xml
===================================================================
--- trunk/08.SprinnerTest/res/values/strings.xml (revision 21)
+++ trunk/08.SprinnerTest/res/values/strings.xml (revision 21)
@@ -0,0 +1,8 @@
+
+
+ Hello World, SprinnerTest!
+ SprinnerTest
+
+ select item
+
+
Index: trunk/08.SprinnerTest/res/layout/main.xml
===================================================================
--- trunk/08.SprinnerTest/res/layout/main.xml (revision 21)
+++ trunk/08.SprinnerTest/res/layout/main.xml (revision 21)
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+