1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/preference_search_engine.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,47 @@ 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 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.10 + android:layout_width="fill_parent" 1.11 + android:layout_height="wrap_content" 1.12 + android:minHeight="?android:attr/listPreferredItemHeight" 1.13 + android:gravity="center_vertical" 1.14 + android:paddingLeft="15dp" 1.15 + android:paddingRight="?android:attr/scrollbarSize"> 1.16 + 1.17 + <org.mozilla.gecko.widget.FaviconView 1.18 + android:id="@+id/search_engine_icon" 1.19 + android:layout_width="@dimen/favicon_bg" 1.20 + android:layout_height="@dimen/favicon_bg" 1.21 + android:layout_gravity="center" 1.22 + android:minWidth="@dimen/favicon_bg" 1.23 + android:minHeight="@dimen/favicon_bg" /> 1.24 + 1.25 + <LinearLayout 1.26 + android:layout_width="wrap_content" 1.27 + android:layout_height="wrap_content" 1.28 + android:orientation="vertical" 1.29 + android:layout_marginLeft="15dip" 1.30 + android:layout_marginRight="6dip" 1.31 + android:layout_marginTop="6dip" 1.32 + android:layout_marginBottom="6dip"> 1.33 + 1.34 + <TextView android:id="@+android:id/title" 1.35 + android:layout_width="wrap_content" 1.36 + android:layout_height="wrap_content" 1.37 + android:textAppearance="?android:attr/textAppearanceMedium" 1.38 + android:singleLine="true" 1.39 + android:ellipsize="marquee" 1.40 + android:fadingEdge="horizontal" /> 1.41 + 1.42 + <TextView android:id="@+android:id/summary" 1.43 + android:layout_width="wrap_content" 1.44 + android:layout_height="wrap_content" 1.45 + android:textAppearance="?android:attr/textAppearanceSmall" 1.46 + android:maxLines="2" /> 1.47 + 1.48 + </LinearLayout> 1.49 + 1.50 +</LinearLayout>