gecko/mobile/android/base/resources/layout/abouthome_last_tabs_row.xml
Sriram Ramasubramanian 085278035f Bug 825088: Compound Drawable for addon-row in about:home. [r=mfinkle]
--HG--
extra : rebase_source : 12a6f764e08608ceb2bcbe64733fc61750e5fc34
2012-12-28 14:55:56 -08:00

45 lines
2.0 KiB
XML

<?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="47dip"
android:gravity="left|center_vertical"
android:background="@drawable/action_bar_button"
android:duplicateParentState="true">
<ImageView android:id="@+id/last_tab_favicon"
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_centerVertical="true"
android:layout_marginLeft="12dip"
android:src="@drawable/favicon"/>
<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"
android:textSize="15sp"
android:singleLine="true"
android:textColor="@color/abouthome_section_title"
android:duplicateParentState="true"/>
<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"
android:textSize="12sp"
android:singleLine="true"
android:textColor="@color/abouthome_section_subtitle"
android:duplicateParentState="true"/>
</RelativeLayout>