diff res/layout/main.xml @ 0:4a66834572d1

First commit of "Ace Torch" project
author IBBoard <dev@ibboard.co.uk>
date Mon, 29 Oct 2012 11:23:36 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/res/layout/main.xml	Mon Oct 29 11:23:36 2012 +0000
@@ -0,0 +1,16 @@
+<?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:gravity="center_vertical"
+    android:orientation="vertical" >
+
+    <ToggleButton
+        android:id="@+id/toggleTorch"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_gravity="center|center_horizontal"
+        android:onClick="onToggleClicked"
+        android:text="@string/torch" />
+
+</LinearLayout>
\ No newline at end of file