<!-- 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/. -->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/search_card_background"
    android:paddingTop="0dp"
    android:paddingBottom="0dp"
    android:descendantFocusability="blocksDescendants"
    android:orientation="horizontal">

    <TextView
        android:id="@+id/auto_complete_row_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/suggestion_card_padding_x"
        android:paddingTop="@dimen/card_padding_y"
        android:paddingBottom="@dimen/card_padding_y"
        android:textSize="@dimen/query_text_size"/>

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

</FrameLayout>
