blob: b173c79343c4d3308528b69811637c68fa5539dd [file]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 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. -->
<org.chromium.chrome.browser.toolbar.bottom.ScrollingBottomViewResourceFrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/bottom_toolbar_control_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/bottom_toolbar_height" >
<ImageView
android:id="@+id/bottom_toolbar_top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_shadow_height"
android:src="@drawable/modern_toolbar_shadow"
android:scaleType="fitXY"
android:scaleY="-1"
tools:ignore="ContentDescription" />
<org.chromium.chrome.browser.widget.bottomsheet.TouchRestrictingFrameLayout
android:id="@+id/bottom_toolbar_container"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_toolbar_height"
android:layout_marginTop="@dimen/toolbar_shadow_height" >
<LinearLayout
android:id="@+id/bottom_toolbar_buttons"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/modern_primary_color"
android:layout_gravity="top|center_horizontal"
android:paddingStart="@dimen/bottom_toolbar_start_padding"
android:paddingEnd="@dimen/bottom_toolbar_end_padding" >
<org.chromium.chrome.browser.toolbar.HomeButton
android:id="@+id/home_button"
app:tint="@color/dark_mode_tint"
style="@style/BottomToolbarButton"
android:contentDescription="@string/accessibility_toolbar_btn_home" />
<include layout="@layout/toolbar_space" />
<org.chromium.chrome.browser.toolbar.bottom.ShareButton
android:id="@+id/share_button"
style="@style/BottomToolbarButton"
android:src="@drawable/ic_share_white_24dp"
app:tint="@color/dark_mode_tint"
android:contentDescription="@string/share" />
<include layout="@layout/toolbar_space" />
<org.chromium.chrome.browser.toolbar.bottom.SearchAccelerator
android:id="@+id/search_accelerator"
android:layout_width="@dimen/search_accelerator_width"
android:layout_height="@dimen/search_accelerator_height"
android:layout_gravity="center"
android:paddingTop="@dimen/search_accelerator_height_padding"
android:paddingBottom="@dimen/search_accelerator_height_padding"
android:src="@drawable/ic_search"
android:contentDescription="@string/accessibility_toolbar_btn_search_accelerator" />
<include layout="@layout/toolbar_space" />
<org.chromium.chrome.browser.toolbar.TabSwitcherButtonView
android:id="@+id/tab_switcher_button"
style="@style/BottomToolbarButton"
android:contentDescription="@string/accessibility_toolbar_btn_tabswitcher_toggle_default" />
<include layout="@layout/toolbar_space" />
<include layout="@layout/menu_button" />
</LinearLayout>
</org.chromium.chrome.browser.widget.bottomsheet.TouchRestrictingFrameLayout>
</org.chromium.chrome.browser.toolbar.bottom.ScrollingBottomViewResourceFrameLayout>