diff --git a/assets/downloading.html b/assets/downloading.html new file mode 100644 index 000000000..403950b57 --- /dev/null +++ b/assets/downloading.html @@ -0,0 +1,17 @@ + + + + + + +
+ Downloading... +
+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java index 9a4cb5c76..1664913a4 100644 --- a/src/com/android/email/activity/MessageView.java +++ b/src/com/android/email/activity/MessageView.java @@ -1110,6 +1110,9 @@ public class MessageView extends K9Activity } MessageView.this.mMessage = message; + if (!message.isSet(Flag.X_DOWNLOADED_FULL)) { + mMessageContentView.loadUrl("file:///android_asset/downloading.html"); + } try { setHeaders(account, folder, uid, message); } @@ -1211,7 +1214,7 @@ public class MessageView extends K9Activity mHandler.post(new Runnable() { public void run() { mMessageContentView.loadUrl("file:///android_asset/loading.html"); - setProgressBarIndeterminateVisibility(true); + setProgressBarIndeterminateVisibility(true); } }); }