| <?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:app="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" |
| app:maxHeight="40dp" |
| tools:ignore="UseCompoundDrawables"> |
| <TextView |
| android:id="@+id/context_menu_text" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:layout_weight="1" |
| android:textSize="15sp" |
| android:textColor="#dd000000" /> |
| <ImageView |
| android:id="@+id/context_menu_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" |
| tools:ignore="ContentDescription" |
| 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> |