Added material dialog
This commit is contained in:
parent
9e04408efa
commit
b37b1681f5
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import android.graphics.Bitmap;
|
||||||
import android.media.MediaScannerConnection;
|
import android.media.MediaScannerConnection;
|
||||||
|
|
||||||
import com.afollestad.materialdialogs.MaterialDialog;
|
import com.afollestad.materialdialogs.MaterialDialog;
|
||||||
|
import com.afollestad.materialdialogs.bottomsheets.BottomSheet;
|
||||||
|
|
||||||
import org.jaudiotagger.audio.AudioFile;
|
import org.jaudiotagger.audio.AudioFile;
|
||||||
import org.jaudiotagger.audio.AudioFileIO;
|
import org.jaudiotagger.audio.AudioFileIO;
|
||||||
|
@ -134,7 +135,7 @@ public class WriteTagsAsyncTask extends
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog createDialog(@NonNull Context context) {
|
protected Dialog createDialog(@NonNull Context context) {
|
||||||
return new MaterialDialog(context)
|
return new MaterialDialog(context, new BottomSheet())
|
||||||
.title(R.string.saving_changes, "")
|
.title(R.string.saving_changes, "")
|
||||||
.cancelable(false);
|
.cancelable(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue