| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 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 <!-- The toolbar containing the URL bar, back button, and NTP button. | 6 <!-- The toolbar containing the URL bar, back button, and NTP button. |
| 7 --> | 7 --> |
| 8 | 8 |
| 9 <org.chromium.chrome.browser.toolbar.ToolbarPhone | 9 <org.chromium.chrome.browser.toolbar.ToolbarPhone |
| 10 xmlns:android="http://schemas.android.com/apk/res/android" | 10 xmlns:android="http://schemas.android.com/apk/res/android" |
| 11 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 11 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 12 android:layout_width="match_parent" | 12 android:layout_width="match_parent" |
| 13 android:layout_height="@dimen/toolbar_height_no_shadow" > | 13 android:layout_height="@dimen/toolbar_height_no_shadow" > |
| 14 | 14 |
| 15 <org.chromium.chrome.browser.widget.newtab.NewTabButton | 15 <org.chromium.chrome.browser.widget.newtab.NewTabButton |
| 16 android:id="@+id/new_tab_button" | 16 android:id="@+id/new_tab_button" |
| 17 style="@style/ToolbarButton" | 17 style="@style/ToolbarButton" |
| 18 android:layout_width="wrap_content" | 18 android:layout_width="wrap_content" |
| 19 android:layout_gravity="start|top" | 19 android:layout_gravity="start|top" |
| 20 android:paddingStart="16dp" | 20 android:paddingStart="16dp" |
| 21 android:paddingEnd="16dp" | 21 android:paddingEnd="16dp" |
| 22 android:visibility="invisible" | 22 android:visibility="invisible" |
| 23 android:background="?attr/selectableItemBackground" | 23 android:background="?attr/selectableItemBackground" |
| 24 android:contentDescription="@string/accessibility_toolbar_btn_new_tab" /
> | 24 android:contentDescription="@string/accessibility_toolbar_btn_new_tab" /
> |
| 25 | 25 |
| 26 <org.chromium.chrome.browser.widget.TintedImageButton | |
| 27 android:id="@+id/return_button" | |
| 28 style="@style/ToolbarButton" | |
| 29 android:src="@drawable/btn_close" | |
| 30 android:contentDescription="@string/close_tab_and_return" | |
| 31 android:visibility="gone" /> | |
| 32 | |
| 33 <org.chromium.chrome.browser.toolbar.HomePageButton | 26 <org.chromium.chrome.browser.toolbar.HomePageButton |
| 34 android:id="@+id/home_button" | 27 android:id="@+id/home_button" |
| 35 style="@style/ToolbarButton" | 28 style="@style/ToolbarButton" |
| 36 android:src="@drawable/btn_toolbar_home" | 29 android:src="@drawable/btn_toolbar_home" |
| 37 android:contentDescription="@string/accessibility_toolbar_btn_home" | 30 android:contentDescription="@string/accessibility_toolbar_btn_home" |
| 38 android:visibility="gone" /> | 31 android:visibility="gone" /> |
| 39 | 32 |
| 40 <org.chromium.chrome.browser.omnibox.LocationBarPhone | 33 <org.chromium.chrome.browser.omnibox.LocationBarPhone |
| 41 android:id="@+id/location_bar" | 34 android:id="@+id/location_bar" |
| 42 android:layout_width="match_parent" | 35 android:layout_width="match_parent" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 </LinearLayout> | 73 </LinearLayout> |
| 81 | 74 |
| 82 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 75 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
| 83 android:id="@+id/progress" | 76 android:id="@+id/progress" |
| 84 android:layout_width="match_parent" | 77 android:layout_width="match_parent" |
| 85 android:layout_height="@dimen/toolbar_progress_bar_height" | 78 android:layout_height="@dimen/toolbar_progress_bar_height" |
| 86 chrome:progressBarColor="@color/progress_bar_foreground" | 79 chrome:progressBarColor="@color/progress_bar_foreground" |
| 87 chrome:backgroundColor="@color/progress_bar_background" /> | 80 chrome:backgroundColor="@color/progress_bar_background" /> |
| 88 | 81 |
| 89 </org.chromium.chrome.browser.toolbar.ToolbarPhone> | 82 </org.chromium.chrome.browser.toolbar.ToolbarPhone> |
| OLD | NEW |