diff options
author | Andrew Sapperstein <asapperstein@google.com> | 2016-06-19 12:49:00 -0700 |
---|---|---|
committer | Andrew Sapperstein <asapperstein@google.com> | 2016-06-20 11:46:44 -0700 |
commit | abef55a1c1f1fda4f42e4b4223534dd21f3dc19f (patch) | |
tree | 026341e2da1bc96f719b2ee7f8984b6d83442c87 /src/com/android/launcher3/allapps/AllAppsGridAdapter.java | |
parent | ae50284e0a838139c67caf0064a0977c871497fa (diff) | |
download | android_packages_apps_Trebuchet-abef55a1c1f1fda4f42e4b4223534dd21f3dc19f.tar.gz android_packages_apps_Trebuchet-abef55a1c1f1fda4f42e4b4223534dd21f3dc19f.tar.bz2 android_packages_apps_Trebuchet-abef55a1c1f1fda4f42e4b4223534dd21f3dc19f.zip |
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
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsGridAdapter.java')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsGridAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsGridAdapter.java b/src/com/android/launcher3/allapps/AllAppsGridAdapter.java index c68356ed5..ca2556e52 100644 --- a/src/com/android/launcher3/allapps/AllAppsGridAdapter.java +++ b/src/com/android/launcher3/allapps/AllAppsGridAdapter.java @@ -378,7 +378,7 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter. mSectionTextPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mSectionTextPaint.setTextSize(res.getDimensionPixelSize( R.dimen.all_apps_grid_section_text_size)); - mSectionTextPaint.setColor(res.getColor(R.color.all_apps_grid_section_text_color)); + mSectionTextPaint.setColor(Utilities.getColorAccent(launcher)); mPredictedAppsDividerPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPredictedAppsDividerPaint.setStrokeWidth(Utilities.pxFromDp(1f, res.getDisplayMetrics())); |