Files
palemoon27/mobile/android/base/resources/layout/two_line_page_row.xml
T
2018-07-24 23:11:02 +08:00

43 lines
2.0 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/. -->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:goanna="http://schemas.android.com/apk/res-auto"
tools:context=".BrowserApp">
<org.mozilla.goanna.widget.FaviconView android:id="@+id/icon"
android:layout_width="@dimen/favicon_bg"
android:layout_height="@dimen/favicon_bg"
android:layout_margin="16dp"
tools:background="@drawable/favicon_globe"/>
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical"
android:paddingRight="25dp">
<org.mozilla.goanna.widget.FadedSingleColorTextView
android:id="@+id/title"
style="@style/Widget.TwoLinePageRow.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
goanna:fadeWidth="30dp"
tools:text="This is a long test title"/>
<TextView android:id="@+id/url"
style="@style/Widget.TwoLinePageRow.Url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawablePadding="5dp"
android:maxLength="1024"
tools:text="http://test.com/test"
tools:drawableLeft="@drawable/ic_url_bar_tab"
tools:drawableRight="@drawable/ic_url_bar_star"/>
</LinearLayout>
</merge>