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