Index: res/layout/crashreport.xml |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/res/layout/crashreport.xml |
@@ -0,0 +1,51 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="fill_parent" |
+ android:layout_height="fill_parent" > |
+ |
+ <LinearLayout |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical" |
+ android:padding="4dip" > |
+ |
+ <TextView |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:text="@string/crash_dialog_text" /> |
+ |
+ <TextView |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:paddingTop="4dip" |
+ android:text="@string/crash_dialog_comment_prompt" /> |
+ |
+ <EditText |
+ android:id="@+id/comments" |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:lines="2" /> |
+ |
+ <LinearLayout |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="horizontal" |
+ android:paddingTop="4dip" > |
+ |
+ <Button |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_weight="1" |
+ android:onClick="onOk" |
+ android:text="@string/ok" /> |
+ |
+ <Button |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_weight="1" |
+ android:onClick="onCancel" |
+ android:text="@string/cancel" /> |
+ </LinearLayout> |
+ </LinearLayout> |
+ |
+</ScrollView> |