summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
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>
+