<!-- 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:paddingLeft="@dimen/card_padding_x"
    android:paddingRight="@dimen/card_padding_x"
    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:paddingTop="@dimen/card_padding_y"
        android:paddingBottom="@dimen/card_padding_y"
        android:textSize="@dimen/query_text_size"/>

    <Button
        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:text="@string/search_jump_arrow"
        android:background="@android:color/transparent"
        android:padding="0dp" />

</FrameLayout>
