beta 0.1.5
[DHBWCampusApp.git] / app / src / main / res / layout / crash_log.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     android:orientation="vertical" android:layout_width="match_parent"
5     android:layout_height="match_parent">
6
7     <android.support.design.widget.AppBarLayout
8         android:layout_width="match_parent"
9         android:layout_height="wrap_content"
10         android:theme="@style/AppTheme.AppBarOverlay">
11         <android.support.v7.widget.Toolbar
12             android:id="@+id/toolbar"
13             android:layout_width="match_parent"
14             android:layout_height="?attr/actionBarSize"
15             android:background="?attr/colorPrimary"
16             app:popupTheme="@style/AppTheme.PopupOverlay">
17
18             <LinearLayout
19                 android:id="@+id/title_container"
20                 android:layout_width="match_parent"
21                 android:layout_height="match_parent"
22                 android:gravity="center_vertical"
23                 android:orientation="horizontal"
24                 android:visibility="visible">
25
26                 <TextView
27                     android:layout_width="wrap_content"
28                     android:layout_height="wrap_content"
29                     android:textAppearance="?android:attr/textAppearanceLarge"
30                     android:text="@string/app_name"
31                     android:layout_weight="1"
32                     android:id="@+id/title" />
33
34             </LinearLayout>
35
36         </android.support.v7.widget.Toolbar>
37     </android.support.design.widget.AppBarLayout>
38
39     <LinearLayout
40         android:orientation="vertical"
41         android:layout_width="match_parent"
42         android:layout_height="match_parent">
43
44         <ImageView
45             android:layout_width="match_parent"
46             android:layout_height="100dp"
47             android:id="@+id/imageView4"
48             android:layout_gravity="center_horizontal"
49             android:src="@drawable/android_crash"
50             android:background="#ffffff"
51             android:paddingTop="8dp"
52             android:paddingBottom="8dp" />
53
54         <LinearLayout
55             android:orientation="vertical"
56             android:layout_width="match_parent"
57             android:layout_height="match_parent"
58             android:layout_marginLeft="8dp"
59             android:layout_marginRight="8dp">
60
61             <TextView
62                 android:layout_width="wrap_content"
63                 android:layout_height="wrap_content"
64                 android:textAppearance="?android:attr/textAppearanceLarge"
65                 android:text="Sorry, Irgendwas Doofes ist passiert."
66                 android:id="@+id/textView38" />
67
68             <RelativeLayout
69                 android:layout_width="fill_parent"
70                 android:layout_height="wrap_content"
71                 android:layout_gravity="center_horizontal"
72                 android:layout_marginTop="8dp">
73
74                 <TextView
75                     android:layout_width="wrap_content"
76                     android:layout_height="wrap_content"
77                     android:text="Crash Log:"
78                     android:id="@+id/textView39" />
79
80                 <ScrollView
81                     android:layout_width="fill_parent"
82                     android:layout_height="200dp"
83                     android:id="@+id/scrollView6"
84                     android:layout_below="@+id/textView39"
85                     android:background="#ffffff">
86
87                     <EditText
88                         android:layout_width="fill_parent"
89                         android:layout_height="wrap_content"
90                         android:padding="2dp"
91                         android:background="#FFF"
92                         android:textSize="10dp"
93                         android:layout_below="@+id/textView39"
94                         android:typeface="monospace"
95                         android:id="@+id/crashLog" />
96                 </ScrollView>
97
98                 <ProgressBar
99                     style="?android:attr/progressBarStyleLarge"
100                     android:layout_width="wrap_content"
101                     android:layout_height="wrap_content"
102                     android:id="@+id/sendProgressBar"
103                     android:layout_centerVertical="true"
104                     android:layout_centerHorizontal="true"
105                     android:visibility="gone" />
106
107             </RelativeLayout>
108
109             <Button
110                 android:layout_width="wrap_content"
111                 android:layout_height="wrap_content"
112                 android:text="Crash Log an Entwickler senden"
113                 android:id="@+id/sendCrashLog"
114                 android:layout_gravity="center_horizontal"
115                 android:layout_marginTop="4dp" />
116
117             <WebView
118                 android:layout_width="match_parent"
119                 android:layout_height="wrap_content"
120                 android:id="@+id/crashReportResponse"
121                 android:layout_gravity="center_horizontal"
122                 android:visibility="gone" />
123
124         </LinearLayout>
125
126     </LinearLayout>
127
128 </LinearLayout>