gecko/mobile/android/base/resources/layout/abouthome_topsite_item.xml
Sriram Ramasubramanian 230cffc0be Bug 778247: mAppContext cleanup: display metrics can be obtained from context. [r=mbrubeck]
--HG--
extra : rebase_source : a36329385979ffd0312fdba19b17798f0e62b3ad
2012-07-27 23:13:34 -07:00

39 lines
1.6 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="146dip"
android:layout_height="wrap_content"
android:paddingTop="4dip">
<ImageView android:id="@+id/thumbnail"
android:layout_width="@dimen/tab_thumbnail_width"
android:layout_height="@dimen/tab_thumbnail_height"
android:layout_centerHorizontal="true"
android:paddingTop="2dip"
android:layout_alignParentTop="true"
android:src="@drawable/tab_thumbnail_default"
android:scaleType="fitCenter"/>
<ImageView android:id="@+id/shadow"
android:layout_width="138dip"
android:layout_height="80dip"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"
android:src="@drawable/tab_thumbnail_shadow"
android:scaleType="fitCenter"/>
<TextView android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="15dip"
android:layout_marginTop="3dip"
android:layout_below="@id/shadow"
android:singleLine="true"
android:textColor="#000000"
android:textSize="9sp"
android:gravity="center_horizontal"/>
</RelativeLayout>