mobile/android/base/crashreporter/res/layout/crash_reporter.xml

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 android:layout_width="fill_parent"
michael@0 8 android:layout_height="fill_parent"
michael@0 9 android:fillViewport="true">
michael@0 10
michael@0 11 <LinearLayout android:layout_width="fill_parent"
michael@0 12 android:layout_height="wrap_content"
michael@0 13 android:orientation="vertical"
michael@0 14 android:background="@color/background_normal">
michael@0 15
michael@0 16 <LinearLayout android:layout_width="fill_parent"
michael@0 17 android:layout_height="0dp"
michael@0 18 android:orientation="vertical"
michael@0 19 android:padding="10dp"
michael@0 20 android:layout_weight="1">
michael@0 21
michael@0 22 <TextView android:layout_width="wrap_content"
michael@0 23 android:layout_height="wrap_content"
michael@0 24 android:padding="10dip"
michael@0 25 android:textSize="30sp"
michael@0 26 android:textColor="#000"
michael@0 27 android:layout_gravity="center_horizontal"
michael@0 28 android:fontFamily="sans-serif-light"
michael@0 29 android:text="@string/crash_sorry"/>
michael@0 30
michael@0 31 <TextView android:layout_width="wrap_content"
michael@0 32 android:layout_height="wrap_content"
michael@0 33 android:padding="10dip"
michael@0 34 android:textAppearance="@style/TextAppearance"
michael@0 35 android:text="@string/crash_message2"/>
michael@0 36
michael@0 37 <CheckBox android:id="@+id/send_report"
michael@0 38 android:layout_width="wrap_content"
michael@0 39 android:layout_height="wrap_content"
michael@0 40 android:checked="true"
michael@0 41 android:textColor="@color/primary_text"
michael@0 42 android:layout_marginBottom="10dp"
michael@0 43 android:text="@string/crash_send_report_message3"/>
michael@0 44
michael@0 45 <EditText android:id="@+id/comment"
michael@0 46 style="@style/CrashReporter.EditText"
michael@0 47 android:layout_width="fill_parent"
michael@0 48 android:layout_height="wrap_content"
michael@0 49 android:ems="10"
michael@0 50 android:inputType="textMultiLine"
michael@0 51 android:lines="5"
michael@0 52 android:gravity="top"
michael@0 53 android:layout_marginLeft="8dp"
michael@0 54 android:layout_marginRight="8dp"
michael@0 55 android:layout_marginBottom="10dp"
michael@0 56 android:hint="@string/crash_comment" />
michael@0 57
michael@0 58 <CheckBox android:id="@+id/include_url"
michael@0 59 android:layout_width="wrap_content"
michael@0 60 android:layout_height="wrap_content"
michael@0 61 android:textColor="@color/primary_text"
michael@0 62 android:textAppearance="@style/TextAppearance"
michael@0 63 android:layout_marginBottom="10dp"
michael@0 64 android:text="@string/crash_include_url2"/>
michael@0 65
michael@0 66 <CheckBox android:id="@+id/allow_contact"
michael@0 67 android:layout_width="wrap_content"
michael@0 68 android:layout_height="wrap_content"
michael@0 69 android:textColor="@color/primary_text"
michael@0 70 android:textAppearance="@style/TextAppearance"
michael@0 71 android:layout_marginBottom="10dp"
michael@0 72 android:text="@string/crash_allow_contact2"/>
michael@0 73
michael@0 74 <org.mozilla.gecko.widget.ClickableWhenDisabledEditText
michael@0 75 android:id="@+id/email"
michael@0 76 style="@style/CrashReporter.EditText"
michael@0 77 android:layout_width="fill_parent"
michael@0 78 android:layout_height="wrap_content"
michael@0 79 android:ems="10"
michael@0 80 android:inputType="textEmailAddress"
michael@0 81 android:layout_marginLeft="8dp"
michael@0 82 android:layout_marginRight="8dp"
michael@0 83 android:enabled="false"
michael@0 84 android:clickable="true"
michael@0 85 android:hint="@string/crash_email" />
michael@0 86
michael@0 87 </LinearLayout>
michael@0 88
michael@0 89 <View android:layout_width="fill_parent"
michael@0 90 android:layout_height="1dp"
michael@0 91 android:background="#999" />
michael@0 92
michael@0 93 <LinearLayout android:layout_width="fill_parent"
michael@0 94 android:layout_height="wrap_content"
michael@0 95 android:orientation="horizontal"
michael@0 96 android:layout_gravity="bottom">
michael@0 97
michael@0 98 <Button android:id="@+id/close"
michael@0 99 android:layout_width="0dp"
michael@0 100 android:layout_height="wrap_content"
michael@0 101 android:layout_weight="1.0"
michael@0 102 android:padding="15dp"
michael@0 103 android:onClick="onCloseClick"
michael@0 104 android:text="@string/crash_close_label"
michael@0 105 android:textAppearance="?android:attr/textAppearance"
michael@0 106 android:background="@drawable/action_bar_button"/>
michael@0 107
michael@0 108 <View android:layout_width="1dp"
michael@0 109 android:layout_height="fill_parent"
michael@0 110 android:background="#999" />
michael@0 111
michael@0 112 <Button android:id="@+id/restart"
michael@0 113 android:layout_width="0dp"
michael@0 114 android:layout_height="wrap_content"
michael@0 115 android:layout_weight="1.0"
michael@0 116 android:padding="15dp"
michael@0 117 android:onClick="onRestartClick"
michael@0 118 android:text="@string/crash_restart_label"
michael@0 119 android:textAppearance="?android:attr/textAppearance"
michael@0 120 android:background="@drawable/action_bar_button"/>
michael@0 121
michael@0 122 </LinearLayout>
michael@0 123
michael@0 124 </LinearLayout>
michael@0 125
michael@0 126 </ScrollView>

mercurial