summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/search_engine_row.xml
blob: 5c2f2dfb9136faa6c1fa9b55a6bf29b3bbecd9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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">

    <org.mozilla.gecko.widget.FaviconView android:id="@+id/suggestion_icon"
                                          android:layout_width="@dimen/favicon_bg"
                                          android:layout_height="@dimen/favicon_bg"
                                          android:layout_marginLeft="16dip"
                                          android:layout_marginRight="16dip"
                                          android:layout_centerVertical="true"
                                          android:minWidth="@dimen/favicon_bg"
                                          android:minHeight="@dimen/favicon_bg"/>

    <org.mozilla.gecko.widget.FlowLayout android:id="@+id/suggestion_layout"
                                         android:layout_toRightOf="@id/suggestion_icon"
                                         android:layout_centerVertical="true"
                                         android:layout_width="wrap_content"
                                         android:layout_height="wrap_content"
                                         android:layout_marginRight="15dp"
                                         android:duplicateParentState="true">

        <include layout="@layout/suggestion_item"
                 android:id="@+id/suggestion_user_entered"/>

    </org.mozilla.gecko.widget.FlowLayout>

</merge>