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

Unified Diff: mobile/android/base/java/org/mozilla/gecko/tabs/TabStrip.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/tabs/TabStrip.java
===================================================================
--- a/mobile/android/base/java/org/mozilla/gecko/tabs/TabStrip.java
+++ b/mobile/android/base/java/org/mozilla/gecko/tabs/TabStrip.java
@@ -180,22 +180,20 @@
@Override
public void onLightweightThemeChanged() {
final Drawable drawable = getTheme().getDrawable(this);
if (drawable == null) {
return;
}
final StateListDrawable stateList = new StateListDrawable();
- // Using ABB color palette. See https://issues.adblockplus.org/ticket/3769
- stateList.addState(PRIVATE_STATE_SET, getColorDrawable(R.color.abb_background_light_grey));
+ stateList.addState(PRIVATE_STATE_SET, getColorDrawable(R.color.text_and_tabs_tray_grey));
stateList.addState(EMPTY_STATE_SET, drawable);
setBackgroundDrawable(stateList);
}
@Override
public void onLightweightThemeReset() {
- // Using ABB color palette. See https://issues.adblockplus.org/ticket/3769
- final int defaultBackgroundColor = ContextCompat.getColor(getContext(), R.color.abb_background_light_grey);
+ final int defaultBackgroundColor = ContextCompat.getColor(getContext(), R.color.text_and_tabs_tray_grey);
setBackgroundColor(defaultBackgroundColor);
}
}

Powered by Google App Engine
This is Rietveld