| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:app="http://schemas.android.com/apk/res-auto" | 7 xmlns:app="http://schemas.android.com/apk/res-auto" |
| 8 android:id="@+id/translate_infobar_content" | 8 android:id="@+id/translate_infobar_content" |
| 9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
| 10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
| 11 android:gravity="center_vertical" | 11 android:gravity="center_vertical" |
| 12 android:orientation="horizontal"> | 12 android:orientation="horizontal"> |
| 13 | 13 |
| 14 <org.chromium.chrome.browser.infobar.translate.TranslateTabLayout | 14 <org.chromium.chrome.browser.infobar.translate.TranslateTabLayout |
| 15 android:id="@+id/translate_infobar_tabs" | 15 android:id="@+id/translate_infobar_tabs" |
| 16 android:layout_width="0dp" | 16 android:layout_width="0dp" |
| 17 android:layout_height="wrap_content" | 17 android:layout_height="match_parent" |
| 18 android:layout_weight="1" | 18 android:layout_weight="1" |
| 19 android:requiresFadingEdge="horizontal" | 19 android:requiresFadingEdge="horizontal" |
| 20 android:fadingEdgeLength="@dimen/infobar_translate_fade_edge_length" | 20 android:fadingEdgeLength="@dimen/infobar_translate_fade_edge_length" |
| 21 app:tabIndicatorColor="@color/infobar_accent_blue" | 21 app:tabIndicatorColor="@color/infobar_accent_blue" |
| 22 app:tabSelectedTextColor="@color/infobar_accent_blue" | 22 app:tabSelectedTextColor="@color/infobar_accent_blue" |
| 23 app:tabGravity="fill" | 23 app:tabGravity="fill" |
| 24 app:tabMode="scrollable" /> | 24 app:tabMode="scrollable" /> |
| 25 | 25 |
| 26 <org.chromium.chrome.browser.widget.TintedImageButton | 26 <org.chromium.chrome.browser.widget.TintedImageButton |
| 27 android:id="@+id/translate_infobar_menu_button" | 27 android:id="@+id/translate_infobar_menu_button" |
| 28 android:layout_width="wrap_content" | 28 android:layout_width="wrap_content" |
| 29 android:layout_height="wrap_content" | 29 android:layout_height="match_parent" |
| 30 android:minHeight="@dimen/min_touch_target_size" | 30 android:minHeight="@dimen/min_touch_target_size" |
| 31 android:minWidth="@dimen/min_touch_target_size" | 31 android:minWidth="@dimen/min_touch_target_size" |
| 32 android:scaleType="center" | 32 android:scaleType="center" |
| 33 android:background="?attr/selectableItemBackground" | 33 android:background="?attr/selectableItemBackground" |
| 34 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 34 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
| 35 android:src="@drawable/btn_menu" | 35 android:src="@drawable/btn_menu" |
| 36 app:tint="@color/dark_mode_tint" /> | 36 app:tint="@color/dark_mode_tint" /> |
| 37 </LinearLayout> | 37 </LinearLayout> |
| OLD | NEW |