<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/translate_infobar_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<org.chromium.components.translate.TranslateTabLayout
android:id="@+id/translate_infobar_tabs"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:requiresFadingEdge="horizontal"
android:fadingEdgeLength="@dimen/infobar_translate_fade_edge_length"
app:tabMode="scrollable"
style="@style/TabLayoutStyle"/>
<org.chromium.ui.widget.ChromeImageButton
android:id="@+id/translate_infobar_menu_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:minHeight="@dimen/min_touch_target_size"
android:minWidth="@dimen/min_touch_target_size"
android:scaleType="center"
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/accessibility_toolbar_btn_menu"
android:src="@drawable/ic_more_vert_24dp"
app:tint="@color/default_icon_color_tint_list" />
</LinearLayout>