aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/Android/res/layout
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2012-10-16 16:35:10 +0100
committerMark Longair <mhl@pobox.com>2012-10-17 09:57:51 +0100
commit9c5048229159c172a4071ddf6e8c377f4d5511bb (patch)
tree4ead914a170d2592b807d95b9d90ffb4fad4d515 /phonegap/Android/res/layout
parent7ff54542f29751b465b4580bac8bfd622eb296da (diff)
Update Android to Phonegap 2.1
In fact, this will break the iPhone version until that is updated to 2.1 as well. (The paths to cordova-?.?.?.jar in www have changed, and I've replaced the previously iOS www/cordova-1.8.0.js with the Android cordova-2.1.0.jar.)
Diffstat (limited to 'phonegap/Android/res/layout')
-rw-r--r--phonegap/Android/res/layout/activity_main.xml14
-rw-r--r--phonegap/Android/res/layout/main.xml12
2 files changed, 14 insertions, 12 deletions
diff --git a/phonegap/Android/res/layout/activity_main.xml b/phonegap/Android/res/layout/activity_main.xml
new file mode 100644
index 000000000..0b4ffccc1
--- /dev/null
+++ b/phonegap/Android/res/layout/activity_main.xml
@@ -0,0 +1,14 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="@string/hello"
+ tools:context=".MainActivity" />
+
+</RelativeLayout>
diff --git a/phonegap/Android/res/layout/main.xml b/phonegap/Android/res/layout/main.xml
deleted file mode 100644
index bc12cd823..000000000
--- a/phonegap/Android/res/layout/main.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?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="fill_parent"
- android:orientation="vertical" >
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/hello" />
-
-</LinearLayout> \ No newline at end of file