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

Unified Diff: mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbar.java

Issue 29986555: Issue 7200 - Adjust UI colors (Closed)
Patch Set: Created Jan. 21, 2019, 6:56 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
Index: mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbar.java
===================================================================
--- a/mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbar.java
+++ b/mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbar.java
@@ -202,19 +202,18 @@
// The focusOrder List should be filled by sub-classes.
focusOrder = new ArrayList<View>();
final Resources res = getResources();
shadowSize = res.getDimensionPixelSize(R.dimen.browser_toolbar_shadow_size);
shadowPaint = new Paint();
- // Using ABB color for toolbar divider. See https://issues.adblockplus.org/ticket/3769
- shadowColor = ContextCompat.getColor(context, R.color.abb_text_divider_grey);
- shadowPrivateColor = ContextCompat.getColor(context, R.color.abb_text_divider_grey);
+ shadowColor = ContextCompat.getColor(context, R.color.url_bar_shadow);
+ shadowPrivateColor = ContextCompat.getColor(context, R.color.url_bar_shadow_private);
shadowPaint.setColor(shadowColor);
shadowPaint.setStrokeWidth(0.0f);
setUIMode(UIMode.DISPLAY);
prefs = new ToolbarPrefs();
urlDisplayLayout.setToolbarPrefs(prefs);
urlEditLayout.setToolbarPrefs(prefs);

Powered by Google App Engine
This is Rietveld