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

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

Issue 1702003004: Replace update menu badge (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@2623
Patch Set: 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 location bar also know as URL bar --> 6 <!-- The location bar also know as URL bar -->
7 <merge xmlns:android="http://schemas.android.com/apk/res/android"> 7 <merge xmlns:android="http://schemas.android.com/apk/res/android">
8 <ImageView android:id="@+id/incognito_badge" 8 <ImageView android:id="@+id/incognito_badge"
9 style="@style/LocationBarButton" 9 style="@style/LocationBarButton"
10 android:layout_width="wrap_content" 10 android:layout_width="wrap_content"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 android:visibility="gone" > 57 android:visibility="gone" >
58 58
59 <FrameLayout 59 <FrameLayout
60 android:id="@+id/document_menu_button_wrapper" 60 android:id="@+id/document_menu_button_wrapper"
61 android:layout_width="fill_parent" 61 android:layout_width="fill_parent"
62 android:layout_height="fill_parent" 62 android:layout_height="fill_parent"
63 android:layoutDirection="locale" > 63 android:layoutDirection="locale" >
64 64
65 <org.chromium.chrome.browser.widget.TintedImageButton 65 <org.chromium.chrome.browser.widget.TintedImageButton
66 android:id="@+id/document_menu_button" 66 android:id="@+id/document_menu_button"
67 style="@style/LocationBarButton" 67 style="@style/LocationBarMenuButton"
68 android:layout_height="match_parent"
69 android:layout_width="match_parent"
70 android:src="@drawable/btn_menu" 68 android:src="@drawable/btn_menu"
71 android:contentDescription="@string/accessibility_toolbar_btn_me nu" /> 69 android:contentDescription="@string/accessibility_toolbar_btn_me nu" />
72 70
73 <ImageView 71 <ImageView
74 android:id="@+id/document_menu_badge" 72 android:id="@+id/document_menu_badge"
75 style="@style/UpdateMenuBadge" 73 style="@style/LocationBarMenuButton"
76 android:src="@drawable/badge_update" 74 android:src="@drawable/badge_update_dark"
77 android:layout_marginEnd="3.5dp" 75 android:scaleType="center"
78 android:contentDescription="@null" /> 76 android:contentDescription="@null"
77 android:importantForAccessibility="no"
78 android:visibility="invisible" />
79 79
80 </FrameLayout> 80 </FrameLayout>
81 81
82 <org.chromium.chrome.browser.widget.TintedImageButton 82 <org.chromium.chrome.browser.widget.TintedImageButton
83 android:id="@+id/delete_button" 83 android:id="@+id/delete_button"
84 style="@style/LocationBarButton" 84 style="@style/LocationBarButton"
85 android:layout_width="match_parent" 85 android:layout_width="match_parent"
86 android:layout_height="match_parent" 86 android:layout_height="match_parent"
87 android:scaleType="center" 87 android:scaleType="center"
88 android:src="@drawable/btn_delete_url" 88 android:src="@drawable/btn_delete_url"
89 android:visibility="invisible" 89 android:visibility="invisible"
90 android:contentDescription="@string/accessibility_toolbar_btn_delete _url" /> 90 android:contentDescription="@string/accessibility_toolbar_btn_delete _url" />
91 91
92 <org.chromium.chrome.browser.widget.TintedImageButton 92 <org.chromium.chrome.browser.widget.TintedImageButton
93 android:id="@+id/mic_button" 93 android:id="@+id/mic_button"
94 style="@style/LocationBarButton" 94 style="@style/LocationBarButton"
95 android:layout_width="match_parent" 95 android:layout_width="match_parent"
96 android:layout_height="match_parent" 96 android:layout_height="match_parent"
97 android:scaleType="center" 97 android:scaleType="center"
98 android:src="@drawable/btn_mic" 98 android:src="@drawable/btn_mic"
99 android:visibility="invisible" 99 android:visibility="invisible"
100 android:contentDescription="@string/accessibility_toolbar_btn_mic" / > 100 android:contentDescription="@string/accessibility_toolbar_btn_mic" / >
101 101
102 </FrameLayout> 102 </FrameLayout>
103 </merge> 103 </merge>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout-sw600dp/toolbar.xml ('k') | chrome/android/java/res/layout/toolbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698