<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (c) Kuba Szczodrzyński 2019-12-19.
  -->

<layout xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:padding="8dp"
        android:orientation="horizontal"
        android:background="?selectableItemBackground"
        android:baselineAligned="false">

        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical">

            <TextView
                android:id="@+id/browserName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textAppearance="@style/NavView.TextView.Medium"
                tools:text="Firefox 71.0 @ Windows 7 64-bit"/>

            <TextView
                android:id="@+id/datePaired"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                tools:text="Połączono 2019-12-12 19:54:09"/>

        </LinearLayout>

        <Button
            android:id="@+id/unpair"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:layout_marginLeft="8dp"
            android:text="@string/web_push_unpair_button" />

    </LinearLayout>
</layout>