summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-02-28 17:43:12 +0100
committerArne Schwabe <arne@rfc2549.org>2013-02-28 17:43:12 +0100
commitc2d2473b1618a9a002344ec6be1e67004fdb1f94 (patch)
tree26e6080ee9aaa63de6d55ec0983d840ed65e423a /res/layout
parent428ef31f6a1de54cd6e3c20264f5ab411a076aaa (diff)
New Layout for main screen
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/file_dialog_main.xml20
-rw-r--r--res/layout/fragment_senddump.xml24
2 files changed, 37 insertions, 7 deletions
diff --git a/res/layout/file_dialog_main.xml b/res/layout/file_dialog_main.xml
index db791663..b50ef8a6 100644
--- a/res/layout/file_dialog_main.xml
+++ b/res/layout/file_dialog_main.xml
@@ -13,23 +13,29 @@
android:orientation="horizontal" >
<Button
- android:id="@+id/importfile"
+ android:id="@+id/fdButtonSelect"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/import_file" >
+ android:text="@string/select_file" >
</Button>
- <Button
- android:id="@+id/fdButtonSelect"
+ <CheckBox
+ android:id="@+id/doinline"
+ android:checked="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/select_file" >
- </Button>
-
+ android:text="@string/make_selection_inline" />
+
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
<Button
android:id="@+id/fdClear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_gravity="right"
android:text="@string/clear" >
</Button>
</LinearLayout>
diff --git a/res/layout/fragment_senddump.xml b/res/layout/fragment_senddump.xml
new file mode 100644
index 00000000..2f573de5
--- /dev/null
+++ b/res/layout/fragment_senddump.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/RelativeLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:orientation="vertical" >
+
+ <Button
+ android:id="@+id/senddump"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="@string/send_minidump" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/senddump"
+ android:layout_centerHorizontal="true"
+ android:text="@string/send_minidump_summary" />
+
+</RelativeLayout> \ No newline at end of file