I want to style all the android.app.ProgressDialog
s in my app on pre-Lollipop versions to make them look like Material Design.
Maybe I'm missing something obvious: I'm looking for android.support.v7.app.ProgressDialog
, but there is no such class in Android AppCompat library.
Should I write my own implementation of ProgressDialog
from scratch? What is the reason it's not included in AppCompat library?
Widget.AppCompat.*
styles can be used starting from API 7.There is currently no AppCompat style for the progress dialog since it relies on AnimatedVectorDrawable.
However, it's possible to write a custom
drawable
that has the same behavior and apply it to yourProgressDialog
.check out GIT