<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:layout_marginStart="8dp"
    android:layout_marginTop="8dp"
    android:layout_marginEnd="8dp">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <LinearLayout
            android:id="@+id/llNotice"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" />

        <TextView
            style="@style/MoneroLabel.Heading"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:gravity="start|center"
            android:padding="8dp"
            android:text="@string/label_daemon" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginEnd="16dp"
            android:layout_marginBottom="8dp">

            <com.google.android.material.progressindicator.CircularProgressIndicator
                android:id="@+id/pbNetwork"
                android:layout_width="0dp"
                android:layout_height="0dp"
                android:layout_alignStart="@id/ibNetwork"
                android:layout_alignTop="@+id/ibNetwork"
                android:layout_alignEnd="@id/ibNetwork"
                android:layout_alignBottom="@id/ibNetwork"
                android:layout_gravity="center"
                android:indeterminate="true"
                android:progress="100"
                android:visibility="visible"
                app:indicatorInset="9dp"
                app:indicatorSize="30dp"
                app:trackThickness="2dp" />

            <ImageButton
                android:id="@+id/ibNetwork"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentStart="true"
                android:layout_centerInParent="true"
                android:background="?android:attr/selectableItemBackgroundBorderless"
                android:gravity="center"
                android:padding="12dp"
                android:src="@drawable/ic_network_clearnet" />

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_alignTop="@+id/ibNetwork"
                android:layout_alignBottom="@id/ibNetwork"
                android:layout_toStartOf="@+id/ibRenew"
                android:layout_toEndOf="@+id/ibNetwork">

                <LinearLayout
                    android:id="@+id/llNode"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="?android:attr/selectableItemBackground"
                    android:gravity="center_vertical"
                    android:orientation="vertical">

                    <TextView
                        android:id="@+id/tvNodeName"
                        style="@style/MoneroText.PosAmount"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        tools:text="monero-v9.monerujo.io" />

                    <TextView
                        android:id="@+id/tvInfo"
                        style="@style/MoneroText.Small"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        tools:text="Last Block: 2 minutes ago" />
                </LinearLayout>
            </FrameLayout>

            <ImageButton
                android:id="@+id/ibRenew"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentEnd="true"
                android:layout_centerInParent="true"
                android:background="?android:attr/selectableItemBackgroundBorderless"
                android:gravity="center"
                android:padding="12dp"
                android:src="@drawable/ic_renew" />
        </RelativeLayout>

        <EditText
            android:id="@+id/etDummy"
            android:layout_width="0dp"
            android:layout_height="0dp" />

        <TextView
            style="@style/MoneroLabel.Heading"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:gravity="start|center"
            android:padding="8dp"
            android:text="@string/label_login_wallets" />

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <ImageView
                android:id="@+id/ivGunther"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_gravity="center"
                android:scaleType="centerCrop" />

            <TextView
                android:id="@+id/tvGuntherSays"
                style="@style/MoneroText.Info"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|center"
                android:layout_marginBottom="128dp"
                android:gravity="center"
                android:lineSpacingMultiplier="1.2"
                android:text="@string/gunther_says" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/list"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:clipToPadding="false"
                android:paddingBottom="72dp"
                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
                tools:listitem="@layout/item_wallet" />

        </FrameLayout>
    </LinearLayout>

    <include layout="@layout/layout_fabmenu" />
</FrameLayout>