blob: 62a3a3f3dc36d6417519832e987466ff26a18ea2 [file]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<!-- The toolbar containing the URL bar, back button, and NTP button.
-->
<org.chromium.chrome.browser.toolbar.top.ToolbarPhone
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height_no_shadow" >
<org.chromium.chrome.browser.toolbar.HomeButton
android:id="@+id/home_button"
style="@style/ToolbarButton"
android:src="@drawable/btn_toolbar_home"
android:contentDescription="@string/accessibility_toolbar_btn_home"
android:visibility="gone"
app:tint="@color/standard_mode_tint" />
<org.chromium.chrome.browser.omnibox.LocationBarPhone
android:id="@+id/location_bar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="top" />
<LinearLayout android:id="@+id/toolbar_buttons"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|end" >
<ViewStub
android:id="@+id/experimental_button_stub"
android:inflatedId="@+id/experimental_toolbar_button"
android:layout="@layout/experimental_toolbar_button"
style="@style/ToolbarButton"
android:paddingStart="8dp"
android:visibility="gone" />
<org.chromium.chrome.browser.toolbar.top.ToggleTabStackButton
android:id="@+id/tab_switcher_button"
style="@style/ToolbarButton"
android:paddingStart="8dp"
android:layout_gravity="top"
android:contentDescription="@string/accessibility_toolbar_btn_tabswitcher_toggle_default" />
<include layout="@layout/menu_button"/>
</LinearLayout>
</org.chromium.chrome.browser.toolbar.top.ToolbarPhone>