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:
@@ -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.
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user