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

Unified Diff: res/layout/crashreport.xml

Issue 8363097: ABP/Android preferences UI (Closed) Base URL: https://hg.adblockplus.org/adblockplusandroid/
Patch Set: Created Sept. 14, 2012, 8:20 p.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
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>

Powered by Google App Engine
This is Rietveld