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 <org.chromium.chrome.browser.toolbar.CustomTabToolbar | 6 <org.chromium.chrome.browser.toolbar.CustomTabToolbar xmlns:android="http://sche
mas.android.com/apk/res/android"> |
7 xmlns:android="http://schemas.android.com/apk/res/android" | |
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" > | |
9 <org.chromium.chrome.browser.widget.TintedImageButton | 7 <org.chromium.chrome.browser.widget.TintedImageButton |
10 android:id="@+id/close_button" | 8 android:id="@+id/close_button" |
11 style="@style/ToolbarButton" | 9 style="@style/ToolbarButton" |
12 android:layout_gravity="start|center_vertical" | 10 android:layout_gravity="start|center_vertical" |
13 android:contentDescription="@string/close_tab" /> | 11 android:contentDescription="@string/close_tab" /> |
14 <FrameLayout | 12 <FrameLayout |
15 android:id="@+id/location_bar_frame_layout" | 13 android:id="@+id/location_bar_frame_layout" |
16 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
17 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
18 android:layout_gravity="center_vertical" > | 16 android:layout_gravity="center_vertical" > |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 android:id="@+id/menu_button" | 72 android:id="@+id/menu_button" |
75 style="@style/ToolbarButton" | 73 style="@style/ToolbarButton" |
76 android:layout_gravity="center_vertical|end" | 74 android:layout_gravity="center_vertical|end" |
77 android:layout_width="42dp" | 75 android:layout_width="42dp" |
78 android:paddingEnd="4dp" | 76 android:paddingEnd="4dp" |
79 android:src="@drawable/btn_menu" | 77 android:src="@drawable/btn_menu" |
80 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 78 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
81 android:background="@null" /> | 79 android:background="@null" /> |
82 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 80 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
83 android:id="@+id/progress" | 81 android:id="@+id/progress" |
| 82 style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
| 83 android:progressDrawable="@drawable/progress_bar" |
84 android:layout_width="match_parent" | 84 android:layout_width="match_parent" |
85 android:layout_height="2dp" | 85 android:layout_height="2dp" |
86 chrome:progressBarColor="@color/progress_bar_foreground" | 86 android:progress="0" /> |
87 chrome:backgroundColor="@color/progress_bar_background" /> | |
88 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> | 87 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> |
OLD | NEW |