<?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/. -->

<org.mozilla.gecko.home.ReadingListRow xmlns:android="http://schemas.android.com/apk/res/android"
                                       android:layout_width="match_parent"
                                       android:layout_height="@dimen/reading_list_row_height"
                                       android:layout_gravity="center_vertical">

    <ImageView android:id="@+id/indicator"
               android:layout_width="64dp"
               android:layout_height="match_parent"
               android:scaleType="center" />

    <LinearLayout android:layout_width="0dip"
                  android:layout_height="match_parent"
                  android:layout_weight="1"
                  android:paddingRight="@dimen/reading_list_row_padding_right"
                  android:orientation="vertical"
                  android:gravity="center_vertical">

        <TextView android:id="@+id/title"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:paddingBottom="4dp"
                  style="@style/Widget.ReadingListRow.Title" />

        <TextView android:id="@+id/excerpt"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  style="@style/Widget.ReadingListRow.Description" />

    </LinearLayout>

</org.mozilla.gecko.home.ReadingListRow>
