mobile/android/base/resources/layout/abouthome_last_tabs_row.xml
author Margaret Leibovic <margaret.leibovic@gmail.com>
Mon, 20 May 2013 10:35:03 -0700
changeset 132438 da75ba983321fc58e186db5e4053c4619a5bfaf1
parent 130297 48ba682136ecd3a7155769a9a02da60ba310f9b5
child 136739 1b841115796758beae844cd03924c7fce42f505d
permissions -rw-r--r--
Bug 873146 - Use default favicon in "tabs from last time" if there's no stored favicon. r=bnicholson

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

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="fill_parent"
                android:layout_height="@dimen/abouthome_rowitem_height"
                android:gravity="left|center_vertical"
                style="@style/AboutHome.RowItem">

    <Gecko.FaviconView android:id="@+id/last_tab_favicon"
                       android:layout_width="@dimen/favicon_bg"
                       android:layout_height="@dimen/favicon_bg"
                       android:layout_marginBottom="6dip"
                       android:layout_marginLeft="@dimen/abouthome_rowitem_left_padding"
                       android:layout_centerVertical="true"
                       android:minWidth="@dimen/favicon_bg"
                       android:minHeight="@dimen/favicon_bg"
                       android:background="@drawable/favicon"/>

    <Gecko.TextView android:id="@+id/last_tab_title"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_toRightOf="@id/last_tab_favicon"
                    android:layout_marginTop="2dip"
                    android:layout_marginLeft="12dip"
                    android:layout_marginRight="12dip"
                    style="@style/AboutHome.LastTabRow.Title"/>

    <Gecko.TextView android:id="@+id/last_tab_url"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="12dip"
                    android:layout_marginRight="12dip"
                    android:layout_toRightOf="@id/last_tab_favicon"
                    android:layout_below="@id/last_tab_title"
                    style="@style/AboutHome.LastTabRow.Url"/>

</RelativeLayout>