Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: chrome/android/java/res/layout/custom_tabs_toolbar.xml

Issue 2410603002: Inflate toolbar layouts in ControlContainer (Closed)
Patch Set: fix ID Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
7 xmlns:android="http://schemas.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" > 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:id="@+id/toolbar"
10 android:layout_width="match_parent"
11 android:layout_height="@dimen/custom_tabs_control_container_height" >
9 <ImageButton 12 <ImageButton
10 android:id="@+id/close_button" 13 android:id="@+id/close_button"
11 style="@style/ToolbarButton" 14 style="@style/ToolbarButton"
12 android:layout_gravity="start|center_vertical" 15 android:layout_gravity="start|center_vertical"
13 android:contentDescription="@string/close_tab" /> 16 android:contentDescription="@string/close_tab" />
14 <FrameLayout 17 <FrameLayout
15 android:id="@+id/location_bar_frame_layout" 18 android:id="@+id/location_bar_frame_layout"
16 android:layout_width="match_parent" 19 android:layout_width="match_parent"
17 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
18 android:layout_gravity="center_vertical" > 21 android:layout_gravity="center_vertical" >
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 android:src="@drawable/btn_menu" 82 android:src="@drawable/btn_menu"
80 android:contentDescription="@string/accessibility_toolbar_btn_menu" 83 android:contentDescription="@string/accessibility_toolbar_btn_menu"
81 android:background="@null" /> 84 android:background="@null" />
82 <org.chromium.chrome.browser.widget.ToolbarProgressBar 85 <org.chromium.chrome.browser.widget.ToolbarProgressBar
83 android:id="@+id/progress" 86 android:id="@+id/progress"
84 android:layout_width="match_parent" 87 android:layout_width="match_parent"
85 android:layout_height="2dp" 88 android:layout_height="2dp"
86 chrome:progressBarColor="@color/progress_bar_foreground" 89 chrome:progressBarColor="@color/progress_bar_foreground"
87 chrome:backgroundColor="@color/progress_bar_background" /> 90 chrome:backgroundColor="@color/progress_bar_background" />
88 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> 91 </org.chromium.chrome.browser.toolbar.CustomTabToolbar>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/custom_tabs_control_container.xml ('k') | chrome/android/java/res/layout/toolbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698