I want to change the color of my ProgressBar
throughout my entire app. The Android documentation indicates that if I am using AppCompat
, it will use the colorAccent
for the color of the progress bars. But it's not using it in my app. Here is my styles.xml
:
<resources>
<!-- Application theme -->
<style name="AppTheme" parent="AppTheme.Base">
</style>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppTheme.Base" parent="Theme.AppCompat">
<item name="android:colorPrimary">@color/colorPrimary</item>
<item name="android:colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="android:colorAccent">@color/colorAccent</item>
<item name="android:windowNoTitle">false</item>
<item name="android:windowActionBar">true</item>
<item name="android:windowActionModeOverlay">true</item>
<item name="android:windowBackground">@color/white</item>
<item name="android:windowFullscreen">false</item>
<item name="android:textCursorDrawable">@null</item>
</style>
<style name="AppTheme.Login" parent="AppTheme.Base">
<item name="android:colorControlNormal">@color/gray</item>
<item name="android:colorControlActivated">@color/colorPrimary</item>
<item name="android:colorControlHighlight">@color/med_gray</item>
<item name="android:statusBarColor">@color/dark_gray</item>
</style>
<style name="AppTheme.Menu" parent="AppTheme.Base">
<item name="android:colorPrimary">@color/black</item>
</style>
<style name="AppTheme.Splash" parent="AppTheme.Base">
<item name="android:statusBarColor">@color/colorPrimaryDark</item>
</style>
<style name="login_button_style">
<item name="android:textSize">@dimen/text_small</item>
<item name="android:textAllCaps">false</item>
</style>
</resources>