mobile/android/base/resources/layout/two_line_page_row.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/two_line_page_row.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<merge xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +       xmlns:gecko="http://schemas.android.com/apk/res-auto">
    1.11 +
    1.12 +    <org.mozilla.gecko.widget.FaviconView android:id="@+id/icon"
    1.13 +                                          android:layout_width="@dimen/favicon_bg"
    1.14 +                                          android:layout_height="@dimen/favicon_bg"
    1.15 +                                          android:layout_marginLeft="10dip"
    1.16 +                                          android:layout_marginRight="10dip"/>
    1.17 +
    1.18 +    <LinearLayout android:layout_width="fill_parent"
    1.19 +                  android:layout_height="wrap_content"
    1.20 +                  android:layout_marginRight="10dip"
    1.21 +                  android:orientation="vertical">
    1.22 +
    1.23 +        <org.mozilla.gecko.home.FadedTextView
    1.24 +                android:id="@+id/title"
    1.25 +                style="@style/Widget.TwoLinePageRow.Title"
    1.26 +                android:layout_width="fill_parent"
    1.27 +                android:layout_height="wrap_content"
    1.28 +                gecko:fadeWidth="30dp"/>
    1.29 +
    1.30 +        <TextView android:id="@+id/url"
    1.31 +                  style="@style/Widget.TwoLinePageRow.Url"
    1.32 +                  android:layout_width="fill_parent"
    1.33 +                  android:layout_height="wrap_content"
    1.34 +                  android:drawablePadding="5dp"
    1.35 +                  android:maxLength="1024"/>
    1.36 +
    1.37 +    </LinearLayout>
    1.38 +
    1.39 +</merge>

mercurial