<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/header">
<include
android:layout_alignParentTop="true"
layout="@layout/persistent_error_message"
android:id="@+id/main_error_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:layout_below="@id/main_error_view"
android:layout_above="@id/bottom_divider"
android:id="@+id/content_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<!-- horizontal divider -->
<View
android:id="@+id/bottom_divider"
android:layout_above="@id/nav_view"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider"/>
<!-- bottom navigation bar -->
<LinearLayout
android:id="@+id/nav_view"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:background="?android:attr/windowBackground">
<!--suppress HardcodedText -->
<TextView
android:id="@+id/navigation_home"
android:layout_width="0dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_action_home"
android:text="Home"
android:gravity="center_horizontal"
tools:ignore="UseCompatTextViewDrawableXml"
android:layout_weight="1">
</TextView>
<!--suppress HardcodedText -->
<TextView
android:id="@+id/navigation_crash_ui"
android:layout_width="0dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_alert_error"
android:text="Crashes"
android:gravity="center_horizontal"
tools:ignore="UseCompatTextViewDrawableXml"
android:layout_weight="1">
</TextView>
<!--suppress HardcodedText -->
<TextView
android:id="@+id/navigation_flags_ui"
android:layout_width="0dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_flag"
android:text="Flags"
android:gravity="center_horizontal"
tools:ignore="UseCompatTextViewDrawableXml"
android:layout_weight="1">
</TextView>
<!--suppress HardcodedText -->
<TextView
android:id="@+id/navigation_net_logs_ui"
android:layout_width="0dp"
android:layout_height="match_parent"
android:drawableTop="@drawable/ic_net_log"
android:text="Net Logs"
android:gravity="center_horizontal"
tools:ignore="UseCompatTextViewDrawableXml"
android:layout_weight="1">
</TextView>
</LinearLayout>
</RelativeLayout>