It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it. Also improve error reporting arguments Also completely refactor error activity Also improve some code here and there
26 lines
834 B
XML
26 lines
834 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<include layout="@layout/main_bg" />
|
|
|
|
<include
|
|
android:id="@+id/error_panel"
|
|
layout="@layout/error_panel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="50dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:layout_alignParentTop="true"
|
|
android:background="?attr/toolbar_shadow" />
|
|
|
|
</RelativeLayout>
|