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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 7 android:layout_width="fill_parent"
michael@0 8 android:layout_height="wrap_content"
michael@0 9 android:minHeight="?android:attr/listPreferredItemHeight"
michael@0 10 android:gravity="center_vertical"
michael@0 11 android:paddingLeft="15dp"
michael@0 12 android:paddingRight="?android:attr/scrollbarSize">
michael@0 13
michael@0 14 <org.mozilla.gecko.widget.FaviconView
michael@0 15 android:id="@+id/search_engine_icon"
michael@0 16 android:layout_width="@dimen/favicon_bg"
michael@0 17 android:layout_height="@dimen/favicon_bg"
michael@0 18 android:layout_gravity="center"
michael@0 19 android:minWidth="@dimen/favicon_bg"
michael@0 20 android:minHeight="@dimen/favicon_bg" />
michael@0 21
michael@0 22 <LinearLayout
michael@0 23 android:layout_width="wrap_content"
michael@0 24 android:layout_height="wrap_content"
michael@0 25 android:orientation="vertical"
michael@0 26 android:layout_marginLeft="15dip"
michael@0 27 android:layout_marginRight="6dip"
michael@0 28 android:layout_marginTop="6dip"
michael@0 29 android:layout_marginBottom="6dip">
michael@0 30
michael@0 31 <TextView android:id="@+android:id/title"
michael@0 32 android:layout_width="wrap_content"
michael@0 33 android:layout_height="wrap_content"
michael@0 34 android:textAppearance="?android:attr/textAppearanceMedium"
michael@0 35 android:singleLine="true"
michael@0 36 android:ellipsize="marquee"
michael@0 37 android:fadingEdge="horizontal" />
michael@0 38
michael@0 39 <TextView android:id="@+android:id/summary"
michael@0 40 android:layout_width="wrap_content"
michael@0 41 android:layout_height="wrap_content"
michael@0 42 android:textAppearance="?android:attr/textAppearanceSmall"
michael@0 43 android:maxLines="2" />
michael@0 44
michael@0 45 </LinearLayout>
michael@0 46
michael@0 47 </LinearLayout>

mercurial