gecko/embedding/android/resources/layout/awesomebar_row.xml
Lucas Rocha 8eb130e19e Bug 698131 - Always use white style list views in AwesomeBar (r=mfinkle)
This will also inherit the proper pressed and focused states from the style.
2011-11-01 13:58:42 +00:00

39 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="6dip">
<ImageView android:id="@+id/favicon"
android:layout_width="32dip"
android:layout_height="32dip"
android:layout_marginRight="10dip"
android:layout_centerVertical="true"
android:minWidth="32dip"
android:minHeight="32dip"
android:src="@drawable/favicon"
android:scaleType="fitCenter"/>
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
android:textColor="?android:attr/textColorPrimaryInverse"
android:layout_toRightOf="@id/favicon"
android:singleLine="true"
android:ellipsize="middle"/>
<TextView android:id="@+id/url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="?android:attr/textColorSecondaryInverse"
android:layout_marginTop="2dip"
android:layout_below="@id/title"
android:layout_alignLeft="@id/title"
android:includeFontPadding="false"
android:singleLine="true"
android:ellipsize="middle"/>
</RelativeLayout>