mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
Fix compatibility issue in styles_custom.xml (#201)
* Adding indeterminateTintMode="src_in" * Add a new ThemeCustomNotTransparentto change the color of ProgressBar
This commit is contained in:
@@ -85,7 +85,7 @@ public class DialogUtils {
|
||||
* @param formatArgs the format arguments for the message id
|
||||
*/
|
||||
private static ProgressDialog createProgressDialog(boolean spinner, final Context context, int messageId, DialogInterface.OnCancelListener onCancelListener, Object... formatArgs) {
|
||||
final ProgressDialog progressDialog = new ProgressDialog(context);
|
||||
final ProgressDialog progressDialog = new ProgressDialog(context, R.style.ThemeCustomNotTransparent);
|
||||
progressDialog.setCancelable(true);
|
||||
progressDialog.setCanceledOnTouchOutside(false);
|
||||
progressDialog.setIcon(R.drawable.ic_dialog_info_24dp);
|
||||
|
||||
Reference in New Issue
Block a user