| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright 2019 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:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:orientation="horizontal"> | |
| <TextView | |
| android:id="@+id/menu_row_text" | |
| android:layout_width="0dp" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| style="@style/ContextMenuItemText" /> | |
| <!-- We use tools:ignore instead of android:importantForAccessibility="no" here because this | |
| view is important for accessibility, but we don't have a content description yet. --> | |
| <ImageView | |
| android:id="@+id/menu_row_share_icon" | |
| android:layout_width="@dimen/list_item_end_icon_width" | |
| android:layout_height="match_parent" | |
| android:scaleType="fitCenter" | |
| android:paddingTop="12dp" | |
| android:paddingBottom="12dp" | |
| android:paddingStart="16dp" | |
| android:paddingEnd="16dp" | |
| android:background="?attr/selectableItemBackground" | |
| android:visibility="gone" | |
| tools:ignore="contentDescription" /> | |
| </LinearLayout> |