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
This commit is contained in:
Fabrice Di Meglio
2014-06-18 11:26:40 -07:00
parent fb03ae2954
commit cc22af0811
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ public class AppOpsSummary extends Fragment {
mViewPager.setAdapter(adapter); mViewPager.setAdapter(adapter);
mViewPager.setOnPageChangeListener(adapter); mViewPager.setOnPageChangeListener(adapter);
PagerTabStrip tabs = (PagerTabStrip) rootView.findViewById(R.id.tabs); 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 // We have to do this now because PreferenceFrameLayout looks at it
// only when the view is added. // only when the view is added.

View File

@@ -919,7 +919,7 @@ public class ManageApplications extends Fragment implements
mViewPager.setAdapter(adapter); mViewPager.setAdapter(adapter);
mViewPager.setOnPageChangeListener(adapter); mViewPager.setOnPageChangeListener(adapter);
PagerTabStrip tabs = (PagerTabStrip) rootView.findViewById(R.id.tabs); 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 // We have to do this now because PreferenceFrameLayout looks at it
// only when the view is added. // only when the view is added.