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.

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

mercurial