Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: res/layout/crashreport.xml

Issue 8487098: ABP/Android crash reporter (Closed)
Patch Set: ABP/Android crash reporter Created Nov. 1, 2012, 9:44 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/org/adblockplus/android/CrashHandler.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | src/org/adblockplus/android/CrashHandler.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld