Browse Source

Re-added titles to progress dialogs in the sample project, they were temporarily taken out for testing the new layout distribution stuff.

Aidan Follestad 10 years ago
parent
commit
bb216b2436

+ 2 - 4
sample/src/main/java/com/afollestad/materialdialogssample/MainActivity.java

@@ -538,16 +538,14 @@ public class MainActivity extends ActionBarActivity implements FolderSelectorDia
 
     public void showProgressDialog(boolean indeterminate) {
         if (indeterminate) {
-//            .title(R.string.progress_dialog)
             new MaterialDialog.Builder(this)
-
+                    .title(R.string.progress_dialog)
                     .content(R.string.please_wait)
                     .progress(true, 0)
                     .show();
         } else {
-//            .title(R.string.progress_dialog)
             new MaterialDialog.Builder(this)
-
+                    .title(R.string.progress_dialog)
                     .content(R.string.please_wait)
                     .contentGravity(GravityEnum.CENTER)
                     .progress(false, 150, true)