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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial