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

Side by Side Diff: chrome/android/java_staging/res/layout/toolbar.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
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
4 found in the LICENSE file. -->
5
6 <!-- The toolbar containing the URL bar, back button, and NTP button.
7 -->
8
9 <org.chromium.chrome.browser.toolbar.ToolbarPhone
10 xmlns:android="http://schemas.android.com/apk/res/android"
11 android:layout_width="match_parent"
12 android:layout_height="@dimen/toolbar_height_no_shadow" >
13
14 <org.chromium.chrome.browser.widget.newtab.NewTabButton
15 android:id="@+id/new_tab_button"
16 style="@style/ToolbarButton"
17 android:layout_width="wrap_content"
18 android:layout_gravity="start|top"
19 android:paddingStart="16dp"
20 android:paddingEnd="16dp"
21 android:visibility="invisible"
22 android:background="?attr/selectableItemBackground"
23 android:contentDescription="@string/accessibility_toolbar_btn_new_tab"
24 />
25
26 <org.chromium.chrome.browser.toolbar.HomePageButton
27 android:id="@+id/home_button"
28 style="@style/ToolbarButton"
29 android:src="@drawable/btn_toolbar_home"
30 android:contentDescription="@string/accessibility_toolbar_btn_home"
31 android:visibility="gone" />
32
33 <org.chromium.chrome.browser.omnibox.LocationBarPhone android:id="@+id/locat ion_bar"
34 android:layout_width="match_parent"
35 android:layout_height="match_parent"
36 android:layout_gravity="top"
37 />
38 <LinearLayout android:id="@+id/toolbar_buttons"
39 android:orientation="horizontal"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_gravity="top|end">
43 <Space
44 android:layout_width="4dp"
45 android:layout_height="match_parent" />
46 <ImageButton android:id="@+id/tab_switcher_button"
47 style="@style/ToolbarButton"
48 android:layout_gravity="top"
49 android:contentDescription="@string/accessibility_toolbar_btn_tabswi tcher_toggle" />
50 <org.chromium.chrome.browser.widget.TintedImageButton
51 android:id="@+id/menu_button"
52 style="@style/ToolbarButton"
53 android:layout_gravity="top"
54 android:layout_width="42dp"
55 android:paddingEnd="4dp"
56 android:src="@drawable/btn_menu"
57 android:contentDescription="@string/accessibility_toolbar_btn_menu"
58 android:background="@null" />
59 </LinearLayout>
60 <org.chromium.chrome.browser.widget.ToolbarProgressBar
61 android:id="@+id/progress"
62 style="@style/Widget.AppCompat.ProgressBar.Horizontal"
63 android:progressDrawable="@drawable/progress_bar"
64 android:layout_width="match_parent"
65 android:layout_height="2dp"
66 android:progress="0" />
67 </org.chromium.chrome.browser.toolbar.ToolbarPhone>
OLDNEW
« no previous file with comments | « chrome/android/java_staging/res/layout/snack_bar.xml ('k') | chrome/android/java_staging/res/layout/url_container.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698