gecko/mobile/android/base/resources/layout/abouthome_topsite_item.xml
2012-05-21 12:12:37 +01: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="9dip"
android:gravity="center_horizontal"/>
</RelativeLayout>