summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2012-12-23 05:05:50 +0100
committerReiner Herrmann <reiner@reiner-h.de>2012-12-23 05:05:50 +0100
commit2c2a35d664fc7a22d55f6006e58bfd57a76eb093 (patch)
treeb0fd8b047ab31b921125c4d968d7db0dc6c0115d /res/layout
initial commit with first layout
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/main.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..8155076
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,26 @@
+<?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"
+ >
+ <EditText android:id="@+id/paste_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/paste_title" />
+ <EditText android:id="@+id/paste_content"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="top"
+ android:inputType="textCapSentences|textMultiLine" />
+ <Spinner android:id="@+id/expiration"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:prompt="@string/expiration_prompt" />
+ <Button android:id="@+id/paste_button"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/paste_button" />
+</LinearLayout>
+