<?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"
       xmlns:gecko="http://schemas.android.com/apk/res-auto">

    <!-- Search icon must have exact position and size as site security in
         display layout -->
    <ImageView android:id="@+id/search_icon"
        android:layout_width="@dimen/browser_toolbar_site_security_width"
        android:layout_height="@dimen/browser_toolbar_site_security_height"
        android:layout_marginBottom="@dimen/browser_toolbar_site_security_margin_bottom"
        android:layout_marginRight="@dimen/browser_toolbar_site_security_margin_right"
        android:paddingBottom="@dimen/browser_toolbar_site_security_padding_vertical"
        android:paddingLeft="@dimen/browser_toolbar_site_security_padding_horizontal"
        android:paddingRight="@dimen/browser_toolbar_site_security_padding_horizontal"
        android:paddingTop="@dimen/browser_toolbar_site_security_padding_vertical"
        android:scaleType="fitCenter"
        android:src="@drawable/search_icon_inactive"
        android:visibility="gone"/>

    <org.mozilla.gecko.toolbar.ToolbarEditText
          android:id="@+id/url_edit_text"
          style="@style/UrlBar.Title"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="1.0"
          android:inputType="textUri|textNoSuggestions"
          android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
          android:selectAllOnFocus="true"
          android:contentDescription="@string/url_bar_default_text"
          android:paddingRight="8dp"
          gecko:autoUpdateTheme="false"/>

    <ImageButton android:id="@+id/qrcode"
                 android:layout_width="@dimen/page_action_button_width"
                 android:layout_height="match_parent"
                 android:src="@drawable/ab_qrcode"
                 android:background="@android:color/transparent"/>

    <ImageButton android:id="@+id/mic"
                 android:layout_width="@dimen/page_action_button_width"
                 android:layout_height="match_parent"
                 android:src="@drawable/ab_mic"
                 android:background="@android:color/transparent"/>

</merge>
