blob: 78fe1cf92157b3e6cfbe86b940fb28aa67fabd64 [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. -->
<org.chromium.chrome.browser.autofill.keyboard_accessory.KeyboardAccessoryView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/keyboard_accessory"
android:layout_gravity="start|bottom"
android:contentDescription="@string/autofill_keyboard_accessory_content_description"
android:scrollbars="none"
android:visibility="gone"
android:orientation="vertical"
android:layout_height="@dimen/keyboard_accessory_height_with_shadow"
android:layout_width="match_parent"
android:paddingEnd="0dp"
android:clickable="true"
android:focusable="true">
<ImageView
android:id="@+id/accessory_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" />
<LinearLayout
android:id="@+id/accessory_bar_contents"
android:layout_width="match_parent"
android:layout_height="@dimen/keyboard_accessory_height"
android:layout_gravity="start|bottom"
android:orientation="horizontal"
android:background="@color/modern_grey_100">
<include layout="@layout/keyboard_accessory_tabs"
android:id="@+id/tabs"/>
<View style="@style/VerticalDivider" />
<android.support.v7.widget.RecyclerView
android:id="@+id/bar_items_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
</LinearLayout>
</org.chromium.chrome.browser.autofill.keyboard_accessory.KeyboardAccessoryView>