diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/filerow.xml | 14 | ||||
-rw-r--r-- | res/layout/home.xml | 58 | ||||
-rw-r--r-- | res/layout/share.xml | 30 | ||||
-rw-r--r-- | res/layout/soundrecorder.xml | 36 | ||||
-rw-r--r-- | res/layout/upload.xml | 38 | ||||
-rw-r--r-- | res/layout/uploadlocation.xml | 72 |
6 files changed, 139 insertions, 109 deletions
diff --git a/res/layout/filerow.xml b/res/layout/filerow.xml index 7f12ffa..410c666 100644 --- a/res/layout/filerow.xml +++ b/res/layout/filerow.xml @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="utf-8"?> -<TextView - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="30sp" - android:typeface="monospace"> -</TextView> +<?xml version="1.0" encoding="utf-8"?>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="30sp"
+ android:typeface="monospace">
+</TextView>
diff --git a/res/layout/home.xml b/res/layout/home.xml index c17cf47..a68954f 100644 --- a/res/layout/home.xml +++ b/res/layout/home.xml @@ -1,29 +1,29 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <Button - android:id="@+id/browse" - android:layout_height="fill_parent" - android:layout_width="fill_parent" - android:layout_weight="1" - android:text="Upload File" - /> - <Button - android:id="@+id/audio" - android:layout_height="fill_parent" - android:layout_width="fill_parent" - android:layout_weight="1" - android:text="Record Audio" - /> - <Button - android:id="@+id/locate" - android:layout_height="fill_parent" - android:layout_width="fill_parent" - android:layout_weight="1" - android:text="Find Location" - /> - -</LinearLayout> +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <Button
+ android:id="@+id/browse"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Upload File"
+ />
+ <Button
+ android:id="@+id/audio"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Record Audio"
+ />
+ <Button
+ android:id="@+id/locate"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Find Location"
+ />
+
+</LinearLayout>
diff --git a/res/layout/share.xml b/res/layout/share.xml new file mode 100644 index 0000000..6a70ea3 --- /dev/null +++ b/res/layout/share.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <TextView + android:text="Enter Filename" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + /> + <EditText + android:id="@+id/filename" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:focusable="true" + /> + <TextView + android:text=" " + android:layout_width="fill_parent" + android:layout_height="wrap_content" + /> + <Button + android:id="@+id/uploadfile" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:text="Upload" + /> + +</LinearLayout> diff --git a/res/layout/soundrecorder.xml b/res/layout/soundrecorder.xml index 184bbae..f707e88 100644 --- a/res/layout/soundrecorder.xml +++ b/res/layout/soundrecorder.xml @@ -1,18 +1,18 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content"> - <Button - android:id="@+id/Record" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:text="Record" -/> - <Button - android:id="@+id/Stop" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:text="Stop" -/> -</LinearLayout> +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <Button
+ android:id="@+id/Record"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:text="Record"
+/>
+ <Button
+ android:id="@+id/Stop"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:text="Stop"
+/>
+</LinearLayout>
diff --git a/res/layout/upload.xml b/res/layout/upload.xml index 13a38b7..d56345d 100644 --- a/res/layout/upload.xml +++ b/res/layout/upload.xml @@ -1,19 +1,19 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -<ListView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/hello" - /> - <ProgressBar -android:id="@+id/ProgressBar01" -android:indeterminateOnly="false" -android:progressDrawable="@android:drawable/progress_horizontal" -android:indeterminateDrawable="@android:drawable/progress_indeterminate_horizontal" -android:minHeight="20dip" -android:maxHeight="20dip" android:layout_width="fill_parent"/> -</LinearLayout> +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<ListView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/hello"
+ />
+ <ProgressBar
+android:id="@+id/ProgressBar01"
+android:indeterminateOnly="false"
+android:progressDrawable="@android:drawable/progress_horizontal"
+android:indeterminateDrawable="@android:drawable/progress_indeterminate_horizontal"
+android:minHeight="20dip"
+android:maxHeight="20dip" android:layout_width="fill_parent"/>
+</LinearLayout>
diff --git a/res/layout/uploadlocation.xml b/res/layout/uploadlocation.xml index f924d43..69251e4 100644 --- a/res/layout/uploadlocation.xml +++ b/res/layout/uploadlocation.xml @@ -1,36 +1,36 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="wrap_content" - android:layout_height="wrap_content"> - <TextView - android:text="Current Location" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - /> - <TextView - android:id="@+id/location" - android:text="" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - /> - <LinearLayout - android:orientation="horizontal" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - > - <Button - android:id="@+id/getlocation" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:text="Get Location" -/> - <Button - android:id="@+id/uploadlocation" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:text="Upload" -/> -</LinearLayout> -</LinearLayout> +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <TextView
+ android:text="Current Location"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ />
+ <TextView
+ android:id="@+id/location"
+ android:text=""
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ />
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ >
+ <Button
+ android:id="@+id/getlocation"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:text="Get Location"
+/>
+ <Button
+ android:id="@+id/uploadlocation"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:text="Upload"
+/>
+</LinearLayout>
+</LinearLayout>
|