Merge "Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator"

This commit is contained in:
Fabrice Di Meglio
2014-06-18 18:29:50 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.