gecko/mobile/android/base/resources/layout/abouthome_topsite_item.xml
Sriram Ramasubramanian f257dbf678 Bug 775717: about:home thumbnails should use android:listSelector. [r=mfinkle]
--HG--
extra : rebase_source : 6b8656a30a5fd7d135c36c5969c06d3d92d6d0d0
2012-07-20 16:21:14 -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="136dip"
android:layout_height="78dip"
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>