embedding/android/resources/layout/crash_reporter.xml
author David Dahl <ddahl@mozilla.com>
Tue, 16 Nov 2010 16:34:53 -0500
changeset 57601 aafeff43ea2582d6d6d2a8d55a4a0c2e81d57129
parent 56280 13dc6bfc5e7a578984cdbecdbe2e8253326a3525
child 81526 8f98bff0412613a5faa8f4acbe973caa77b8db28
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 587734: enable the lazy console API added in bug 568629, and hook it up to the Web Console, r=gavin, a=blocking

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical"
              android:padding="10px" >
  <TextView xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10px"
            android:textStyle="bold"
            android:text="@string/crash_message"/>
  <TextView xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10px"
            android:text="@string/crash_help_message"/>
  <CheckBox android:id="@+id/send_report"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:checked="true"
            android:text="@string/crash_send_report_message" />
  <CheckBox android:id="@+id/include_url"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/crash_include_url" />
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:padding="10px"
                android:gravity="center_horizontal" >
    <Button android:id="@+id/close"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="10px"
            android:minWidth="120sp"
	    android:onClick="onCloseClick"
            android:text="@string/crash_close_label" />
    <Button android:id="@+id/restart"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10px"
            android:minWidth="120sp"
	    android:onClick="onRestartClick"
            android:text="@string/crash_restart_label" />
  </LinearLayout>
</LinearLayout>