summaryrefslogtreecommitdiffstats
path: root/res/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r--res/layout/main.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..f109163
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,28 @@
+<?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">
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <EditText
+ android:id="@+id/name_entry"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:hint="@string/name_entry" />
+ <Button
+ android:id="@+id/add_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/add_button"
+ android:onClick="addDVD" />
+ </LinearLayout>
+
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+</LinearLayout>