1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout
3  xmlns:android="http://schemas.android.com/apk/res/android"
4  xmlns:tools="http://schemas.android.com/tools"
5  android:layout_width="match_parent"
6  android:layout_height="wrap_content"
7  android:orientation="vertical"
8  android:paddingBottom="@dimen/activity_vertical_margin"
9  android:paddingLeft="@dimen/activity_horizontal_margin"
10  android:paddingRight="@dimen/activity_horizontal_margin"
11  android:paddingTop="@dimen/activity_vertical_margin"
12  tools:context="host.exp.exponent.experience.ErrorActivity">
13
14  <LinearLayout
15    android:layout_width="match_parent"
16    android:layout_height="match_parent"
17    android:layout_gravity="center_vertical"
18    android:layout_above="@+id/view_error_log"
19    android:gravity="center"
20    android:orientation="vertical">
21
22    <TextView
23      android:id="@+id/error_header"
24      android:layout_width="wrap_content"
25      android:layout_height="wrap_content"
26      android:layout_centerHorizontal="true"
27      android:layout_marginLeft="20dp"
28      android:layout_marginTop="30dp"
29      android:layout_marginRight="20dp"
30      android:gravity="center"
31      android:text="@string/error_header"
32      android:textColor="@color/white"
33      android:textSize="24sp"/>
34
35    <TextView
36      android:id="@+id/error_message"
37      android:layout_width="wrap_content"
38      android:layout_height="wrap_content"
39      android:layout_centerHorizontal="true"
40      android:layout_marginTop="20dp"
41      android:layout_marginLeft="20dp"
42      android:layout_marginRight="20dp"
43      android:gravity="center"
44      android:text="@string/error_default_client"
45      android:textColor="@color/white"
46      android:textSize="16sp"/>
47
48    <LinearLayout
49      android:layout_width="match_parent"
50      android:layout_height="wrap_content"
51      android:layout_below="@+id/editText"
52      android:layout_centerHorizontal="true"
53      android:layout_marginTop="140dp"
54      android:layout_marginLeft="40dp"
55      android:layout_marginRight="40dp"
56      android:weightSum="2"
57      android:gravity="center_horizontal"
58      android:orientation="horizontal">
59
60      <host.exp.exponent.views.ExponentImageButton
61        android:id="@+id/home_button"
62        android:layout_width="wrap_content"
63        android:layout_height="wrap_content"
64        android:layout_weight="1"
65        android:background="@android:color/transparent"
66        android:src="@drawable/ic_home_white_36dp"
67        android:textColor="@color/colorPrimaryDark"
68        android:textSize="15sp"/>
69
70      <host.exp.exponent.views.ExponentImageButton
71        android:id="@+id/reload_button"
72        android:layout_width="wrap_content"
73        android:layout_height="wrap_content"
74        android:layout_weight="1"
75        android:background="@android:color/transparent"
76        android:src="@drawable/ic_refresh_white_36dp"
77        android:textColor="@color/colorPrimaryDark"
78        android:textSize="15sp"/>
79    </LinearLayout>
80  </LinearLayout>
81
82  <TextView
83    android:id="@id/view_error_log"
84    android:layout_width="wrap_content"
85    android:layout_height="wrap_content"
86    android:layout_centerHorizontal="true"
87    android:layout_alignParentBottom="true"
88    android:paddingBottom="20dp"
89    android:paddingLeft="20dp"
90    android:paddingRight="20dp"
91    android:paddingTop="20dp"
92    android:gravity="center"
93    android:clickable="true"
94    android:text="@string/view_error_log"
95    android:textColor="@color/errorLogButton"
96    android:textSize="13sp"/>
97
98
99</RelativeLayout>
100