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/back_button" |
9 style="@style/ToolbarButton" | 9 style="@style/ToolbarButton" |
10 android:layout_gravity="center_vertical" | 10 android:layout_gravity="center_vertical" |
(...skipping 17 matching lines...) Expand all Loading... |
28 <TextView | 28 <TextView |
29 android:id="@+id/title_bar" | 29 android:id="@+id/title_bar" |
30 android:background="@null" | 30 android:background="@null" |
31 android:layout_width="wrap_content" | 31 android:layout_width="wrap_content" |
32 android:layout_height="wrap_content" | 32 android:layout_height="wrap_content" |
33 android:layout_marginBottom="16dp" | 33 android:layout_marginBottom="16dp" |
34 android:layout_gravity="top" | 34 android:layout_gravity="top" |
35 android:maxLines="1" | 35 android:maxLines="1" |
36 android:paddingEnd="@dimen/toolbar_edge_padding" | 36 android:paddingEnd="@dimen/toolbar_edge_padding" |
37 android:textSize="@dimen/custom_tabs_title_text_size" | 37 android:textSize="@dimen/custom_tabs_title_text_size" |
38 android:inputType="none" /> | 38 android:inputType="none" |
| 39 android:visibility="gone" /> |
39 <org.chromium.chrome.browser.omnibox.UrlBar | 40 <org.chromium.chrome.browser.omnibox.UrlBar |
40 android:id="@+id/url_bar" | 41 android:id="@+id/url_bar" |
41 android:background="@null" | 42 android:background="@null" |
42 android:layout_width="wrap_content" | 43 android:layout_width="wrap_content" |
43 android:layout_height="wrap_content" | 44 android:layout_height="wrap_content" |
44 android:layout_gravity ="bottom" | 45 android:layout_gravity ="bottom" |
45 android:maxLines="1" | 46 android:maxLines="1" |
46 android:paddingEnd="@dimen/toolbar_edge_padding" | 47 android:paddingEnd="@dimen/toolbar_edge_padding" |
47 android:textSize="@dimen/custom_tabs_url_text_size" | 48 android:textSize="@dimen/location_bar_url_text_size" |
48 android:inputType="none" /> | 49 android:inputType="none" /> |
49 </FrameLayout> | 50 </FrameLayout> |
50 <ImageButton | 51 <ImageButton |
51 android:id="@+id/action_button" | 52 android:id="@+id/action_button" |
52 style="@style/ToolbarButton" | 53 style="@style/ToolbarButton" |
53 android:layout_width="wrap_content" | 54 android:layout_width="wrap_content" |
54 android:maxWidth="@dimen/custom_tabs_toolbar_maxWidth" | 55 android:maxWidth="@dimen/custom_tabs_toolbar_maxWidth" |
55 android:paddingTop="@dimen/custom_tabs_toolbar_vertical_padding" | 56 android:paddingTop="@dimen/custom_tabs_toolbar_vertical_padding" |
56 android:paddingBottom="@dimen/custom_tabs_toolbar_vertical_padding" | 57 android:paddingBottom="@dimen/custom_tabs_toolbar_vertical_padding" |
57 android:adjustViewBounds="true" | 58 android:adjustViewBounds="true" |
(...skipping 12 matching lines...) Expand all Loading... |
70 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 71 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
71 android:background="@null" /> | 72 android:background="@null" /> |
72 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 73 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
73 android:id="@+id/progress" | 74 android:id="@+id/progress" |
74 style="@style/Widget.AppCompat.ProgressBar.Horizontal" | 75 style="@style/Widget.AppCompat.ProgressBar.Horizontal" |
75 android:progressDrawable="@drawable/progress_bar" | 76 android:progressDrawable="@drawable/progress_bar" |
76 android:layout_width="match_parent" | 77 android:layout_width="match_parent" |
77 android:layout_height="2dp" | 78 android:layout_height="2dp" |
78 android:progress="0" /> | 79 android:progress="0" /> |
79 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> | 80 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> |
OLD | NEW |