Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/base/toolbar/ToolbarEditLayout.java

Issue 29348083: Issue 3769 - UI colours gone bad (Closed)
Patch Set: Adjusting comments which indicates what has being changed by this issue in upstream code Created Oct. 25, 2016, 12:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mobile/android/base/toolbar/ShapedButtonFrameLayout.java ('k') | mobile/android/chrome/content/WebrtcUI.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/base/toolbar/ToolbarEditLayout.java
===================================================================
--- a/mobile/android/base/toolbar/ToolbarEditLayout.java
+++ b/mobile/android/base/toolbar/ToolbarEditLayout.java
@@ -146,17 +146,18 @@ public class ToolbarEditLayout extends T
// When on tablet show a magnifying glass in editing mode
final int searchDrawableId = R.drawable.search_icon_active;
final Drawable searchDrawable;
if (!isActive) {
searchDrawable = DrawableUtil.tintDrawable(getContext(), searchDrawableId, R.color.placeholder_grey);
} else {
if (isPrivateMode()) {
- searchDrawable = DrawableUtil.tintDrawable(getContext(), searchDrawableId, R.color.tabs_tray_icon_grey);
+ // Modified in order to follow ABB style guide. See https://issues.adblockplus.org/ticket/3769
+ searchDrawable = DrawableUtil.tintDrawable(getContext(), searchDrawableId, R.color.private_active_text);
} else {
searchDrawable = getResources().getDrawable(searchDrawableId);
}
}
mSearchIcon.setImageDrawable(searchDrawable);
}
« no previous file with comments | « mobile/android/base/toolbar/ShapedButtonFrameLayout.java ('k') | mobile/android/chrome/content/WebrtcUI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld