summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/search_suggestions_row.xml
blob: 8c3f3e7a1c7047f60854d71a2ddeaa9434b440b7 (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
31
<!-- 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/. -->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/search_row_background"
    android:padding="@dimen/search_row_padding"
    android:descendantFocusability="blocksDescendants"
    android:orientation="horizontal">

    <TextView
        android:id="@+id/auto_complete_row_text"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:textSize="@dimen/query_text_size"/>

    <ImageButton
        android:id="@+id/auto_complete_row_jump_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="right|center_vertical"
        android:paddingLeft="@dimen/search_row_padding"
        android:src="@drawable/search_plus"
        android:contentDescription="@string/search_plus_content_description"
        android:background="@android:color/transparent" />

</LinearLayout>