blob: fa7e2758b4296b88d180a956c2d31450241ac3c8 [file]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 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.widget.BoundedLinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:chrome="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="15dp"
android:minHeight="40dp"
chrome:maxHeight="40dp"
tools:ignore="UseCompoundDrawables">
<ImageView
android:id="@+id/context_menu_icon"
android:layout_width="20dp"
android:layout_height="match_parent"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:scaleType="centerInside"
android:contentDescription="@null" />
<TextView
android:id="@+id/context_menu_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:textSize="15sp"
android:textColor="#dd000000" />
<ImageView
android:id="@+id/context_menu_share_icon"
android:layout_width="51dp"
android:layout_height="match_parent"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="12dp"
android:paddingEnd="15dp"
android:scaleType="centerInside"
android:contentDescription="@null"
android:visibility="gone"/>
<Space
android:id="@+id/context_menu_right_padding"
android:layout_width="15dp"
android:layout_height="wrap_content"/>
</org.chromium.chrome.browser.widget.BoundedLinearLayout>