Next progress bar shows whit progress drawable on black square if device api is less than 21, but only black square if device api is >=21
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@android:color/black"
android:visibility="visible" />
In my styles I have
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
where <color name="colorAccent">#FFFFFFFF</color>
It was a bug with genymtion emulator, on real devices progress bar is visible on any device