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
diff --git a/src/com/android/settings/applications/AppOpsSummary.java b/src/com/android/settings/applications/AppOpsSummary.java
index 92515ac..3401c99 100644
--- a/src/com/android/settings/applications/AppOpsSummary.java
+++ b/src/com/android/settings/applications/AppOpsSummary.java
@@ -103,7 +103,7 @@
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 d68b6a9..48e2d5e 100644
--- a/src/com/android/settings/applications/ManageApplications.java
+++ b/src/com/android/settings/applications/ManageApplications.java
@@ -919,7 +919,7 @@
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.