From cc22af08117a2f90d879cc360f76de48fd234e0d Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Wed, 18 Jun 2014 11:26:40 -0700 Subject: [PATCH] Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator - update color from Holo to the Theme accent color Change-Id: Ifd9aced1654e2fddc0ab729cd5c6170b6a07f01e --- src/com/android/settings/applications/AppOpsSummary.java | 2 +- src/com/android/settings/applications/ManageApplications.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/applications/AppOpsSummary.java b/src/com/android/settings/applications/AppOpsSummary.java index 92515ac0c69..3401c996db6 100644 --- a/src/com/android/settings/applications/AppOpsSummary.java +++ b/src/com/android/settings/applications/AppOpsSummary.java @@ -103,7 +103,7 @@ public class AppOpsSummary extends Fragment { mViewPager.setAdapter(adapter); mViewPager.setOnPageChangeListener(adapter); PagerTabStrip tabs = (PagerTabStrip) rootView.findViewById(R.id.tabs); - tabs.setTabIndicatorColorResource(android.R.color.holo_blue_light); + tabs.setTabIndicatorColorResource(R.color.theme_accent); // We have to do this now because PreferenceFrameLayout looks at it // only when the view is added. diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index d68b6a9982b..48e2d5ed233 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -919,7 +919,7 @@ public class ManageApplications extends Fragment implements mViewPager.setAdapter(adapter); mViewPager.setOnPageChangeListener(adapter); PagerTabStrip tabs = (PagerTabStrip) rootView.findViewById(R.id.tabs); - tabs.setTabIndicatorColorResource(android.R.color.holo_blue_light); + tabs.setTabIndicatorColorResource(R.color.theme_accent); // We have to do this now because PreferenceFrameLayout looks at it // only when the view is added.