Index: trunk/02.Hello2T/default.properties
===================================================================
--- trunk/02.Hello2T/default.properties (revision 9)
+++ trunk/02.Hello2T/default.properties (revision 9)
@@ -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/02.Hello2T/.classpath
===================================================================
--- trunk/02.Hello2T/.classpath (revision 9)
+++ trunk/02.Hello2T/.classpath (revision 9)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
Index: trunk/02.Hello2T/.project
===================================================================
--- trunk/02.Hello2T/.project (revision 9)
+++ trunk/02.Hello2T/.project (revision 9)
@@ -0,0 +1,33 @@
+
+
+ 02.Hello2T
+
+
+
+
+
+ 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/02.Hello2T/AndroidManifest.xml
===================================================================
--- trunk/02.Hello2T/AndroidManifest.xml (revision 9)
+++ trunk/02.Hello2T/AndroidManifest.xml (revision 9)
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: trunk/02.Hello2T/src/soo/base/Hello2T.java
===================================================================
--- trunk/02.Hello2T/src/soo/base/Hello2T.java (revision 9)
+++ trunk/02.Hello2T/src/soo/base/Hello2T.java (revision 9)
@@ -0,0 +1,59 @@
+package soo.base;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.view.ViewGroup;
+import android.widget.Button;
+import android.widget.LinearLayout;
+import android.widget.TextView;
+
+public class Hello2T extends Activity {
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ //setContentView(R.layout.main);
+
+ LinearLayout ll = new LinearLayout(this);
+ LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
+ ViewGroup.LayoutParams.FILL_PARENT,
+ ViewGroup.LayoutParams.FILL_PARENT,
+ 0.0f
+ );
+ ll.setLayoutParams(params);
+ ll.setOrientation(LinearLayout.VERTICAL);
+
+ //TextView
+ TextView tv = new TextView(this);
+ tv.setText(R.string.hello);
+
+ LinearLayout.LayoutParams tvParams = new LinearLayout.LayoutParams(
+ ViewGroup.LayoutParams.FILL_PARENT,
+ ViewGroup.LayoutParams.WRAP_CONTENT,
+ 0.0f
+ );
+
+ tv.setLayoutParams(tvParams);
+ ll.addView(tv);
+
+ //Button 1
+ Button btn = new Button(this);
+ btn.setText("踰��1");
+
+ LinearLayout.LayoutParams btnParams = new LinearLayout.LayoutParams(
+ ViewGroup.LayoutParams.FILL_PARENT,
+ ViewGroup.LayoutParams.FILL_PARENT,
+ 0.0f
+ );
+ btn.setLayoutParams(btnParams);
+
+ ll.addView(btn);
+
+ //Button 2
+ Button btn2 = new Button(this);
+ btn2.setText("踰��2");
+ ll.addView(btn2);
+
+ setContentView(ll);
+ }
+}
Index: trunk/02.Hello2T/res/values/strings.xml
===================================================================
--- trunk/02.Hello2T/res/values/strings.xml (revision 9)
+++ trunk/02.Hello2T/res/values/strings.xml (revision 9)
@@ -0,0 +1,5 @@
+
+
+ Hello World, Hello2T!
+ Hello2T
+
Index: trunk/02.Hello2T/res/layout/main.xml
===================================================================
--- trunk/02.Hello2T/res/layout/main.xml (revision 9)
+++ trunk/02.Hello2T/res/layout/main.xml (revision 9)
@@ -0,0 +1,12 @@
+
+
+
+
Index: trunk/02.Hello2T/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/02.Hello2T/.settings/org.eclipse.jdt.core.prefs (revision 9)
+++ trunk/02.Hello2T/.settings/org.eclipse.jdt.core.prefs (revision 9)
@@ -0,0 +1,5 @@
+#Mon Feb 08 15:49:14 KST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5