| Index: chrome/android/java/res/layout/title_button_menu_item.xml
|
| diff --git a/chrome/android/java/res/layout/title_button_menu_item.xml b/chrome/android/java/res/layout/title_button_menu_item.xml
|
| index f993c840ebdf24a54c39a37c3cf3da50c9a012d2..3edbfabe44d8698950aa67f5c5346dd09ddf246f 100644
|
| --- a/chrome/android/java/res/layout/title_button_menu_item.xml
|
| +++ b/chrome/android/java/res/layout/title_button_menu_item.xml
|
| @@ -4,6 +4,12 @@
|
| Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| -->
|
| +
|
| +<!-- Represents a menu item that can display any of the following options:
|
| + * A text label
|
| + * A text label with a checkbox indicating that it is enabled or disabled
|
| + * A text label with an icon
|
| +-->
|
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| xmlns:chrome="http://schemas.android.com/apk/res-auto"
|
| android:layout_width="match_parent"
|
| @@ -21,6 +27,21 @@
|
| android:singleLine="true"
|
| android:textAppearance="?android:attr/textAppearanceLargePopupMenu" />
|
|
|
| + <!-- Checkbox. Paddings account for built-in padding from the Android resource. -->
|
| + <org.chromium.chrome.browser.appmenu.AppMenuItemIcon
|
| + android:id="@+id/checkbox"
|
| + android:layout_width="56dp"
|
| + android:layout_height="match_parent"
|
| + android:background="?attr/listChoiceBackgroundIndicator"
|
| + android:paddingStart="12dp"
|
| + android:paddingEnd="12dp"
|
| + android:paddingTop="8dp"
|
| + android:paddingBottom="8dp"
|
| + android:scaleType="fitCenter"
|
| + android:src="?android:attr/listChoiceIndicatorMultiple"
|
| + chrome:chrometint="@null" />
|
| +
|
| + <!-- Displays an icon. -->
|
| <org.chromium.chrome.browser.widget.TintedImageButton
|
| android:id="@+id/button"
|
| android:layout_width="56dp"
|
|
|