init commit
This commit is contained in:
32
ExceptionHandlerLib/res/layout/exception_activity.xml
Normal file
32
ExceptionHandlerLib/res/layout/exception_activity.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#ffffff">
|
||||
|
||||
<Button
|
||||
android:id="@+id/send"
|
||||
android:text="@string/send"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
/>
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/description"
|
||||
android:id="@+id/description"
|
||||
android:layout_below="@id/send"
|
||||
android:freezesText="true"
|
||||
/>
|
||||
|
||||
<ListView
|
||||
android:layout_below="@id/description"
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
27
ExceptionHandlerLib/res/layout/exception_list_item.xml
Normal file
27
ExceptionHandlerLib/res/layout/exception_list_item.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="#ffffff">
|
||||
|
||||
<TextView
|
||||
android:text="title"
|
||||
android:id="@+id/exception_title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#99CC00"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:text="body"
|
||||
android:id="@+id/exception_text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#000000"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
21
ExceptionHandlerLib/res/layout/list.xml
Normal file
21
ExceptionHandlerLib/res/layout/list.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
>
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
<TextView android:id="@android:id/empty"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#99CC00"
|
||||
android:text="No Reports"
|
||||
/>
|
||||
</LinearLayout>
|
||||
9
ExceptionHandlerLib/res/values/strings.xml
Normal file
9
ExceptionHandlerLib/res/values/strings.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="crash">Application Fault</string>
|
||||
<string name="sorry">I\'m sorry, but we found a problem. Please click here.</string>
|
||||
<string name="sending">Sending...</string>
|
||||
<string name="send">Send</string>
|
||||
<string name="description">Optional: Describe what happened</string>
|
||||
<string name="version">Version</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user