<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<merge xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:tools="http://schemas.android.com/tools"
       xmlns:gecko="http://schemas.android.com/apk/res-auto"
       tools:context=".BrowserApp">

    <org.mozilla.gecko.widget.FaviconView android:id="@+id/icon"
                                          android:layout_width="@dimen/favicon_bg"
                                          android:layout_height="@dimen/favicon_bg"
                                          android:layout_margin="16dp"
                                          tools:background="@drawable/favicon_globe"/>

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

        <org.mozilla.gecko.widget.FadedSingleColorTextView
                android:id="@+id/title"
                style="@style/Widget.TwoLinePageRow.Title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                gecko:fadeWidth="90dp"
                tools:text="This is a long test title"/>

        <org.mozilla.gecko.widget.FadedSingleColorTextView android:id="@+id/url"
                  style="@style/Widget.TwoLinePageRow.Url"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:drawablePadding="5dp"
                  android:maxLength="1024"
                  gecko:fadeWidth="90dp"
                  tools:text="http://test.com/test"
                  tools:drawableLeft="@drawable/ic_url_bar_tab"/>

    </LinearLayout>

    <ImageView android:id="@+id/status_icon_bookmark"
               android:layout_width="20dp"
               android:layout_height="20dp"
               android:layout_gravity="center"
               android:visibility="gone"
               android:src="@drawable/star_blue"/>

    <ImageView android:id="@+id/is_reader_cached"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_gravity="center_vertical"
               android:visibility="invisible"
               android:src="@drawable/status_icon_readercache"/>

</merge>
