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

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

Issue 1694673002: Replace update menu badge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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 <!-- The toolbar containing the URL bar, back button, and NTP button. 6 <!-- The toolbar containing the URL bar, back button, and NTP button.
7 --> 7 -->
8 8
9 <org.chromium.chrome.browser.toolbar.ToolbarPhone 9 <org.chromium.chrome.browser.toolbar.ToolbarPhone
10 xmlns:android="http://schemas.android.com/apk/res/android" 10 xmlns:android="http://schemas.android.com/apk/res/android"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 android:layout_gravity="top" 58 android:layout_gravity="top"
59 android:contentDescription="@string/accessibility_toolbar_btn_tabswi tcher_toggle" /> 59 android:contentDescription="@string/accessibility_toolbar_btn_tabswi tcher_toggle" />
60 60
61 <FrameLayout 61 <FrameLayout
62 android:layout_width="wrap_content" 62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content" 63 android:layout_height="wrap_content"
64 android:id="@+id/menu_button_wrapper" > 64 android:id="@+id/menu_button_wrapper" >
65 65
66 <org.chromium.chrome.browser.widget.TintedImageButton 66 <org.chromium.chrome.browser.widget.TintedImageButton
67 android:id="@+id/menu_button" 67 android:id="@+id/menu_button"
68 style="@style/ToolbarButton" 68 style="@style/ToolbarMenuButtonPhone"
69 android:layout_gravity="top"
70 android:layout_width="42dp"
71 android:paddingEnd="4dp"
72 android:src="@drawable/btn_menu" 69 android:src="@drawable/btn_menu"
73 android:contentDescription="@string/accessibility_toolbar_btn_me nu" 70 android:contentDescription="@string/accessibility_toolbar_btn_me nu" />
74 android:background="@null" />
75 71
76 <ImageView 72 <ImageView
77 android:id="@+id/menu_badge" 73 android:id="@+id/menu_badge"
78 style="@style/UpdateMenuBadge" 74 style="@style/ToolbarMenuButtonPhone"
79 android:src="@drawable/badge_update" 75 android:src="@drawable/badge_update_dark"
80 android:layout_marginEnd="8.5dp" 76 android:contentDescription="@null"
81 android:contentDescription="@null" /> 77 android:importantForAccessibility="no"
78 android:visibility="invisible" />
82 </FrameLayout> 79 </FrameLayout>
83 </LinearLayout> 80 </LinearLayout>
84 81
85 <org.chromium.chrome.browser.widget.ToolbarProgressBar 82 <org.chromium.chrome.browser.widget.ToolbarProgressBar
86 android:id="@+id/progress" 83 android:id="@+id/progress"
87 android:layout_width="match_parent" 84 android:layout_width="match_parent"
88 android:layout_height="2dp" 85 android:layout_height="2dp"
89 chrome:progressBarColor="@color/progress_bar_foreground" 86 chrome:progressBarColor="@color/progress_bar_foreground"
90 chrome:backgroundColor="@color/progress_bar_background" /> 87 chrome:backgroundColor="@color/progress_bar_background" />
91 88
92 </org.chromium.chrome.browser.toolbar.ToolbarPhone> 89 </org.chromium.chrome.browser.toolbar.ToolbarPhone>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/location_bar.xml ('k') | chrome/android/java/res/values-v17/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698