Fix hard-coded colors for accessibility screens to work with night mode
bug: 27257764
Change-Id: I885cdc44dc75cd6aeefe92de3735ff679fdddb6a
diff --git a/res/layout/preview_seek_bar_view_pager.xml b/res/layout/preview_seek_bar_view_pager.xml
index 4badca4..d16a356 100644
--- a/res/layout/preview_seek_bar_view_pager.xml
+++ b/res/layout/preview_seek_bar_view_pager.xml
@@ -45,7 +45,7 @@
android:gravity="center"
android:text="@string/screen_zoom_preview_title"
android:textAppearance="@android:style/TextAppearance.Material.Widget.ActionBar.Title"
- android:textColor="?android:attr/textColorPrimaryInverse"
+ android:textColor="@color/seek_bar_preference_preview_text"
android:elevation="2dp"/>
</RelativeLayout>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 70b5005..acd658f 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -373,8 +373,8 @@
<style name="PreviewPagerPageIndicator">
<item name="dotGap">8dp</item>
- <item name="pageIndicatorColor">@android:color/tertiary_text_light</item>
- <item name="currentPageIndicatorColor">@android:color/primary_text_light</item>
+ <item name="pageIndicatorColor">?android:attr/colorControlNormal</item>
+ <item name="currentPageIndicatorColor">?android:attr/colorControlActivated</item>
</style>
<style name="LanguageCheckboxAndLabel">