mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Update Launcher to use theme colors.
Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
This commit is contained in:
@@ -81,9 +81,7 @@ public class BaseRecyclerViewFastScrollBar {
|
||||
mTrackPaint = new Paint();
|
||||
mTrackPaint.setColor(rv.getFastScrollerTrackColor(Color.BLACK));
|
||||
mTrackPaint.setAlpha(MAX_TRACK_ALPHA);
|
||||
mThumbInactiveColor = rv.getFastScrollerThumbInactiveColor(
|
||||
res.getColor(R.color.container_fastscroll_thumb_inactive_color));
|
||||
mThumbActiveColor = res.getColor(R.color.container_fastscroll_thumb_active_color);
|
||||
mThumbActiveColor = mThumbInactiveColor = Utilities.getColorAccent(rv.getContext());
|
||||
mThumbPaint = new Paint();
|
||||
mThumbPaint.setAntiAlias(true);
|
||||
mThumbPaint.setColor(mThumbInactiveColor);
|
||||
|
||||
Reference in New Issue
Block a user