Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r398 committed - Add new files to help define improved style, layout.

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r398 committed - Add new files to help define improved style, layout.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r398 committed - Add new files to help define improved style, layout.
  • Date: Fri, 10 Jun 2011 20:38:25 +0000

Revision: 398
Author:

Date: Fri Jun 10 12:53:42 2011
Log: Add new files to help define improved style, layout.
http://code.google.com/p/ndt/source/detail?r=398

Added:
/branches/android/Android/.classpath
/branches/android/Android/.project
/branches/android/Android/res/layout/start.xml
/branches/android/Android/res/values/styles.xml
/branches/android/Android/src/net/measurementlab/ndt/AndroidNdt2.java
Modified:
/branches/android/Android

=======================================
--- /dev/null
+++ /branches/android/Android/.classpath Fri Jun 10 12:53:42 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="src" path="java"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
=======================================
--- /dev/null
+++ /branches/android/Android/.project Fri Jun 10 12:53:42 2011
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>NDT Android</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>java</name>
+ <type>2</type>
+
<location>/home/cmdln/Developer/svn/ndt/java</location>
+ </link>
+ </linkedResources>
+</projectDescription>
=======================================
--- /dev/null
+++ /branches/android/Android/res/layout/start.xml Fri Jun 10 12:53:42
2011
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <LinearLayout android:id="@+id/UpperFrame"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:layout_weight="1"
android:layout_above="@+id/LowerFrame"
+ android:layout_alignParentTop="true"
android:orientation="vertical">
+ <TextView android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
android:id="@+id/MLab"
+ android:text="@string/mlab" android:gravity="top"
+ android:singleLine="true" />
+ <TextView android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
android:id="@+id/MLabDesc"
+ android:text="@string/mlabdesc"
android:gravity="bottom"
+ android:scrollbars="vertical" />
+ </LinearLayout>
+ <LinearLayout android:id="@+id/LowerFrame"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
android:orientation="horizontal">
+ <Button android:text="@string/start"
android:id="@+id/ButtonStart"
+ android:layout_width="wrap_content"
android:layout_weight="1"
+ android:layout_height="wrap_content" />
+ <Button android:text="@string/about"
android:id="@+id/ButtonAbout"
+ android:layout_width="wrap_content"
android:layout_weight="1"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+</RelativeLayout>
=======================================
--- /dev/null
+++ /branches/android/Android/res/values/styles.xml Fri Jun 10 12:53:42
2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="NdtTheme" parent="android:Theme">
+ <item name="android:background">#3cb878</item>
+ </style>
+</resources>
=======================================
--- /dev/null
+++ /branches/android/Android/src/net/measurementlab/ndt/AndroidNdt2.java Fri Jun 10 12:53:42 2011
@@ -0,0 +1,23 @@
+// Copyright 2009 Google Inc. All Rights Reserved.
+
+package net.measurementlab.ndt;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.util.Log;
+
+/**
+ * UI Thread and Entry Point of NDT mobile client.
+ */
+public class AndroidNdt2 extends Activity {
+
+ /**
+ * Initializes the activity.
+ */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.start);
+ Log.i("ndt", "Loaded!");
+ }
+}


  • [ndt-dev] [ndt] r398 committed - Add new files to help define improved style, layout., ndt, 06/10/2011

Archive powered by MHonArc 2.6.16.

Top of Page