Chromium Code Reviews| 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 xmlns:android="http://sche mas.android.com/apk/res/android"> | 6 <org.chromium.chrome.browser.toolbar.CustomTabToolbar xmlns:android="http://sche mas.android.com/apk/res/android"> |
| 7 <org.chromium.chrome.browser.widget.TintedImageButton | 7 <org.chromium.chrome.browser.widget.TintedImageButton |
| 8 android:id="@+id/back_button" | 8 android:id="@+id/close_button" |
| 9 style="@style/ToolbarButton" | 9 style="@style/ToolbarButton" |
| 10 android:layout_gravity="center_vertical" | 10 android:layout_gravity="center_vertical" |
| 11 android:src="@drawable/btn_chevron_left" /> | 11 android:src="@drawable/btn_close" /> |
|
Yusuf
2015/06/24 21:23:36
in the bug it mentions we would like to give a cho
Ian Wen
2015/06/29 22:07:24
Added an intent extra in the next patch.
| |
| 12 <ImageButton android:id="@+id/security_button" | 12 <ImageButton android:id="@+id/security_button" |
| 13 style="@style/LocationBarButton" | 13 style="@style/LocationBarButton" |
| 14 android:layout_width="@dimen/location_bar_icon_width" | 14 android:layout_width="@dimen/location_bar_icon_width" |
| 15 android:layout_height="match_parent" | 15 android:layout_height="match_parent" |
| 16 android:layout_marginStart="48dp" | 16 android:layout_marginStart="48dp" |
| 17 android:scaleType="center" | 17 android:scaleType="center" |
| 18 android:layout_gravity="center_vertical" | 18 android:layout_gravity="center_vertical" |
| 19 android:alpha="0" | 19 android:alpha="0" |
| 20 android:visibility="gone" | 20 android:visibility="gone" |
| 21 android:contentDescription="@string/accessibility_toolbar_btn_site_info" /> | 21 android:contentDescription="@string/accessibility_toolbar_btn_site_info" /> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 70 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
| 71 android:background="@null" /> | 71 android:background="@null" /> |
| 72 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 72 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
| 73 android:id="@+id/progress" | 73 android:id="@+id/progress" |
| 74 style="@style/Widget.AppCompat.ProgressBar.Horizontal" | 74 style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
| 75 android:progressDrawable="@drawable/progress_bar" | 75 android:progressDrawable="@drawable/progress_bar" |
| 76 android:layout_width="match_parent" | 76 android:layout_width="match_parent" |
| 77 android:layout_height="2dp" | 77 android:layout_height="2dp" |
| 78 android:progress="0" /> | 78 android:progress="0" /> |
| 79 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> | 79 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> |
| OLD | NEW |