| 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" | |
| 12 android:layout_width="match_parent" | 11 android:layout_width="match_parent" |
| 13 android:layout_height="@dimen/toolbar_height_no_shadow" > | 12 android:layout_height="@dimen/toolbar_height_no_shadow" > |
| 14 | 13 |
| 15 <org.chromium.chrome.browser.widget.newtab.NewTabButton | 14 <org.chromium.chrome.browser.widget.newtab.NewTabButton |
| 16 android:id="@+id/new_tab_button" | 15 android:id="@+id/new_tab_button" |
| 17 style="@style/ToolbarButton" | 16 style="@style/ToolbarButton" |
| 18 android:layout_width="wrap_content" | 17 android:layout_width="wrap_content" |
| 19 android:layout_gravity="start|top" | 18 android:layout_gravity="start|top" |
| 20 android:paddingStart="16dp" | 19 android:paddingStart="16dp" |
| 21 android:paddingEnd="16dp" | 20 android:paddingEnd="16dp" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 style="@style/ToolbarButton" | 52 style="@style/ToolbarButton" |
| 54 android:layout_gravity="top" | 53 android:layout_gravity="top" |
| 55 android:layout_width="42dp" | 54 android:layout_width="42dp" |
| 56 android:paddingEnd="4dp" | 55 android:paddingEnd="4dp" |
| 57 android:src="@drawable/btn_menu" | 56 android:src="@drawable/btn_menu" |
| 58 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 57 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
| 59 android:background="@null" /> | 58 android:background="@null" /> |
| 60 </LinearLayout> | 59 </LinearLayout> |
| 61 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 60 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
| 62 android:id="@+id/progress" | 61 android:id="@+id/progress" |
| 62 style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
| 63 android:progressDrawable="@drawable/progress_bar" |
| 63 android:layout_width="match_parent" | 64 android:layout_width="match_parent" |
| 64 android:layout_height="2dp" | 65 android:layout_height="2dp" |
| 65 chrome:progressBarColor="@color/progress_bar_foreground" | 66 android:progress="0" /> |
| 66 chrome:backgroundColor="@color/progress_bar_background" /> | |
| 67 </org.chromium.chrome.browser.toolbar.ToolbarPhone> | 67 </org.chromium.chrome.browser.toolbar.ToolbarPhone> |
| OLD | NEW |