diff --git a/res/drawable/btn_email_focused_63.png b/res/drawable/btn_email_focused_63.png
deleted file mode 100755
index f0cb73e8e..000000000
Binary files a/res/drawable/btn_email_focused_63.png and /dev/null differ
diff --git a/res/drawable/btn_email_pressed_63.png b/res/drawable/btn_email_pressed_63.png
deleted file mode 100755
index f89edef81..000000000
Binary files a/res/drawable/btn_email_pressed_63.png and /dev/null differ
diff --git a/res/drawable/btn_icon_bg_focused.9.png b/res/drawable/btn_icon_bg_focused.9.png
new file mode 100755
index 000000000..81857f4d1
Binary files /dev/null and b/res/drawable/btn_icon_bg_focused.9.png differ
diff --git a/res/drawable/btn_icon_bg_pressed.9.png b/res/drawable/btn_icon_bg_pressed.9.png
new file mode 100755
index 000000000..9201624d2
Binary files /dev/null and b/res/drawable/btn_icon_bg_pressed.9.png differ
diff --git a/res/drawable/btn_prev_next.xml b/res/drawable/btn_prev_next.xml
index f65e9f21d..788fed0ed 100644
--- a/res/drawable/btn_prev_next.xml
+++ b/res/drawable/btn_prev_next.xml
@@ -19,6 +19,6 @@
-->
-
-
+
+
diff --git a/res/layout/message_view.xml b/res/layout/message_view.xml
index ed6cb256a..3c1a10414 100644
--- a/res/layout/message_view.xml
+++ b/res/layout/message_view.xml
@@ -31,40 +31,28 @@
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
-
+
-
diff --git a/res/values-cs/strings.xml b/res/values-cs/strings.xml
index feddd06ec..ce0ce9cc6 100644
--- a/res/values-cs/strings.xml
+++ b/res/values-cs/strings.xml
@@ -50,8 +50,11 @@
"Chyba připojení"
"Opakovat načítání dalších zpráv"
"Nový e-mail"
- "Nepřečtené zprávy: %d(%s)"
- "v(e) %d účtech"
+
+
+
+
+
"Doručená pošta"
"Vítá vás nastavení aplikace Email!"\n\n"V aplikaci Email můžete používat jakékoli e-mailové účty."\n\n"Nejznámější e-mailové účty lze nastavit ve dvou krocích!"
"Verze: %s"
@@ -73,8 +76,6 @@
"Kopie:"
"Otevřít"
"Uložit"
- "Náhled zprávy"
- "Další zpráva"
"Příloha byla uložena na SD kartu jako %s."
"Nelze uložit přílohu na SD kartu."
"Výběrem možnosti Zobrazit obrázky zobrazíte vnořené obrázky."
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
index b4724634e..9fe47dbdc 100644
--- a/res/values-de/strings.xml
+++ b/res/values-de/strings.xml
@@ -50,8 +50,11 @@
"Verbindungsfehler"
"Laden weiterer Nachrichten erneut versuchen"
"Neue E-Mail"
- "%d ungelesen (%s)"
- "in %d Google-Konten"
+
+
+
+
+
"Posteingang"
"Willkommen bei der Einrichtung von E-Mails."\n\n"Nutzen Sie ein beliebiges E-Mail-Konto."\n\n"Gängige E-Mail-Konten können in nur zwei Schritten eingerichtet werden."
"Version: %s"
@@ -73,8 +76,6 @@
"Cc:"
"Öffnen"
"Speichern"
- "Vorherige Nachricht"
- "Nächste Nachricht"
"Anhang auf SD-Speicherkarte unter \"%s\" abgespeichert"
"Speichern des Anhangs auf SD-Karte nicht möglich"
"Wählen Sie \"Bilder anzeigen\" aus, um eingebettete Bilder anzuzeigen."
diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml
index 9eedd39cf..2c2c2faab 100644
--- a/res/values-es/strings.xml
+++ b/res/values-es/strings.xml
@@ -50,8 +50,11 @@
"Error de conexión"
"Intentar cargar más mensajes"
"Nuevo mensaje"
- "%d no leídos (%s)"
- "en %d cuentas"
+
+
+
+
+
"Recibidos"
"Te damos la bienvenida a la configuración del correo electrónico."\n\n"Usa cualquier cuenta de correo electrónico con \"Correo electrónico\"."\n\n"Las cuentas de correo electrónico más populares se pueden configurar en 2 pasos."
"Versión: %s"
@@ -73,8 +76,6 @@
"Cc:"
"Abrir"
"Guardar"
- "Mensaje anterior"
- "Siguiente mensaje"
"El archivo adjunto se ha guardado en una tarjeta SD como %s."
"No es posible guardar el archivo adjunto en la tarjeta SD."
"Selecciona \"Mostrar imágenes\" para visualizar las imágenes incrustadas."
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index bd7444e23..14d79dc8d 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -50,8 +50,11 @@
"Erreur de connexion"
"Essayer de charger plus de messages"
"Nouvel e-mail"
- "%d non lus (%s)"
- "dans %d comptes"
+
+
+
+
+
"Boîte de réception"
"Bienvenue dans le programme de configuration de votre messagerie électronique !"\n\n"Utilisez le compte de votre choix."\n\n"Les comptes de messagerie les plus courants peuvent être configurés en deux étapes !"
"Version : %s"
@@ -73,8 +76,6 @@
"Cc :"
"Ouvrir"
"Enregistrer"
- "Message préc."
- "Message suivant"
"Pièce jointe enregistrée sur la carte SD sous le nom %s."
"Impossible d\'enregistrer la pièce jointe sur la carte SD."
"Sélectionnez \"Afficher les images\" pour afficher les images intégrées."
diff --git a/res/values-it/strings.xml b/res/values-it/strings.xml
index 65e1f281d..f83274890 100644
--- a/res/values-it/strings.xml
+++ b/res/values-it/strings.xml
@@ -50,8 +50,11 @@
"Errore di connessione"
"Prova nuovamente a caricare altri messaggi"
"Nuova email"
- "%d da leggere (%s)"
- "in %d account"
+
+
+
+
+
"Posta in arrivo"
"Benvenuto in Impostazione email."\n\n"Usa qualunque account email con Email."\n\n"Puoi impostare gli account email più popolari in due semplici passaggi."
"Versione: %s"
@@ -73,8 +76,6 @@
"Cc:"
"Apri"
"Salva"
- "Messaggio prec."
- "Messaggio succ."
"Allegato salvato su scheda SD come %s."
"Impossibile salvare l\'allegato nella scheda SD."
"Seleziona \"Mostra immagini\" per visualizzare le immagini incorporate."
diff --git a/res/values-ja/strings.xml b/res/values-ja/strings.xml
index 42db97232..c0ab1aa72 100644
--- a/res/values-ja/strings.xml
+++ b/res/values-ja/strings.xml
@@ -50,8 +50,11 @@
"接続エラー"
"追加のメールを読み込み直す"
"新着メール"
- "未読%d件 (%s)"
- "(%d個のアカウント)"
+
+
+
+
+
"受信トレイ"
"メールアカウントのセットアップ"\n\n"お好きなメールアカウントを登録してください。"\n\n"画面の手順に沿って簡単に追加できます。"
"バージョン: %s"
@@ -73,8 +76,6 @@
"Cc:"
"開く"
"保存"
- "前のメッセージ"
- "次のメッセージ"
"「%s」という名前で添付ファイルをSDカードに保存しました。"
"添付ファイルをSDカードに保存できません。"
"埋め込まれている画像を見るには[画像を表示]を選択してください。"
diff --git a/res/values-ko/strings.xml b/res/values-ko/strings.xml
index f69a592a6..9bad079a9 100644
--- a/res/values-ko/strings.xml
+++ b/res/values-ko/strings.xml
@@ -50,8 +50,11 @@
"연결 오류"
"추가 메일 로드 재시도"
"새 이메일"
- "읽지않은 메일 %d개(%s)"
- "%d개 계정"
+
+
+
+
+
"받은편지함"
"이메일 설정에 오신 것을 환영합니다."\n\n"원하는 이메일 계정을 사용하세요."\n\n"가장 많이 사용하는 이메일 계정은 2단계 만에 설정할 수 있습니다."
"버전: %s"
@@ -73,8 +76,6 @@
"참조:"
"열기"
"저장"
- "이전 메일"
- "다음 메일"
"첨부파일(%s)이 SD 카드에 저장되었습니다."
"SD 카드에 첨부파일을 저장할 수 없습니다."
"삽입된 사진을 표시하려면 \'사진 표시\'를 선택하세요."
diff --git a/res/values-nb/strings.xml b/res/values-nb/strings.xml
index f86fc7748..ba3e7bd86 100644
--- a/res/values-nb/strings.xml
+++ b/res/values-nb/strings.xml
@@ -50,8 +50,11 @@
"Feil ved tilkobling"
"Prøv på nytt å hente flere meldinger"
"Ny e-post"
- "%d ulest(e) (%s)"
- "i %d kontoer"
+
+
+
+
+
"Innboks"
"Velkommen til e-post-oppsettet!"\n\n"Du kan bruke hvilken som helst e-postkonto."\n\n"De fleste vanlige e-postkontoer kan settes opp i to trinn!"
"Version: %s"
@@ -73,8 +76,6 @@
"Kopi:"
"Åpne"
"Lagre"
- "Forrige melding"
- "Neste melding"
"Vedlegget ble lagret til minnekortet som %s."
"Kunne ikke lagre vedlegget til minnekort."
"Velg \"Vis bilder\" for å vise vedlagte bilder."
diff --git a/res/values-nl/strings.xml b/res/values-nl/strings.xml
index a308c8205..e76d039fe 100644
--- a/res/values-nl/strings.xml
+++ b/res/values-nl/strings.xml
@@ -50,8 +50,11 @@
"Verbindingsfout"
"Probeer opnieuw meer berichten te laden"
"Nieuwe e-mail"
- "%d ongelezen (%s)"
- "in %d accounts"
+
+
+
+
+
"Postvak IN"
"Welkom bij E-mail instellen."\n\n"Je kunt elke account gebruiken met E-mail."\n\n"De meest populaire e-mailaccounts kunnen in twee stappen worden ingesteld."
"Versie: %s"
@@ -73,8 +76,6 @@
"Cc:"
"Openen"
"Opslaan"
- "Vorig bericht"
- "Volgend bericht"
"Bijlage opgeslagen op SD-kaart als %s."
"Kan bijlage niet opslaan op SD-kaart."
"Selecteer Afbeeldingen weergeven om ingevoegde afbeeldingen weer te geven."
diff --git a/res/values-pl/strings.xml b/res/values-pl/strings.xml
index 0a9a266e2..dfac04fc0 100644
--- a/res/values-pl/strings.xml
+++ b/res/values-pl/strings.xml
@@ -50,8 +50,11 @@
"Błąd połączenia"
"Ponów próbę załadowania większej liczby wiadomości"
"Nowa wiadomość e-mail"
- "Nieprzeczytane: %d (%s)"
- "na %d kontach"
+
+
+
+
+
"Odebrane"
"Zapraszamy do skonfigurowania poczty e-mail!"\n\n"W tej usłudze można korzystać z dowolnego konta e-mail."\n\n"Konfiguracja najpopularniejszych kont e-mail składa się z tylko 2 etapów."
"Wersja: %s"
@@ -73,8 +76,6 @@
"DW:"
"Otwórz"
"Zapisz"
- "Poprzednia wiadomość"
- "Następna wiadomość"
"Załącznik został zapisany na karcie SD jako %s."
"Nie można zapisać załącznika na karcie SD."
"Wybierz opcję Pokaż obrazy, aby wyświetlić osadzone obrazy."
diff --git a/res/values-ru/strings.xml b/res/values-ru/strings.xml
index 1539eb72e..f92669cbd 100644
--- a/res/values-ru/strings.xml
+++ b/res/values-ru/strings.xml
@@ -50,8 +50,11 @@
"Ошибка подключения"
"Повторить попытку загрузки остальных писем"
"Новое письмо"
- "Непрочитанных: %d (%s)"
- "в нескольких (%d) аккаунтах"
+
+
+
+
+
"Входящие"
"Добро пожаловать на страницу настройки электронной почты."\n\n"С нашей почтовой системой можно использовать любой аккаунт электронной почты."\n\n"Самые распространенные аккаунты электронной почты можно настроить за 2 шага."
"Версия: %s"
@@ -73,8 +76,6 @@
"Копия:"
"Открыть"
"Сохранить"
- "Пред. письмо"
- "След. письмо"
"Приложение сохранено на SD-карту как %s."
"Не удается сохранить приложение на SD-карту."
"Выберите \"Показать картинки\", чтобы показать встроенную графику."
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index fb300c0c1..8b413a0c0 100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -50,8 +50,11 @@
"连接错误"
"重新尝试载入更多邮件"
"新电子邮件"
- "有 %d 封未读邮件 (%s)"
- "在 %d 个帐户中"
+
+
+
+
+
"收件箱"
"欢迎设置电子邮件!"\n\n"在此可使用任意电子邮件帐户。"\n\n"大多数常见的电子邮件帐户通过 2 步即可完成设置!"
"版本:%s"
@@ -73,8 +76,6 @@
"抄送:"
"打开"
"保存"
- "上一封邮件"
- "下一封邮件"
"附件已保存到 SD 卡中,文件名为 %s。"
"无法将附件保存到 SD 卡。"
"选择“显示图片”可显示嵌入的图片。"
diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml
index 8581b9a9b..30abecd74 100644
--- a/res/values-zh-rTW/strings.xml
+++ b/res/values-zh-rTW/strings.xml
@@ -50,8 +50,11 @@
"連線錯誤"
"重新載入更多郵件"
"新電子郵件"
- "%d 封未讀取的郵件 (%s)"
- "在 %d 個帳戶中"
+
+
+
+
+
"收件匣"
"歡迎使用 [電子郵件] 設定!"\n\n"[電子郵件] 設定可讓您使用各種電子郵件帳戶!"\n\n"大部分常見的電子郵件只需要兩個步驟就能設定完成!"
"版本:%s"
@@ -73,8 +76,6 @@
"副本:"
"開啟"
"儲存"
- "上一封郵件"
- "下一封郵件"
"已將附件儲存至 SD 記憶卡,檔名為 %s。"
"無法將附件儲存至 SD 記憶卡。"
"選取 [顯示圖片] 即可顯示內嵌的圖片。"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 16f89a777..b749dd018 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -91,10 +91,29 @@
Retry loading more messages
New email
-
- %d unread (%s)
-
- in %d accounts
+
+
+
+
+ - %d unread (%s)
+
+
+ - %d unread (%s)
+
+
+ - %d unread (%s)
+
+
+
+
+
+
+ - in %d accounts
+
+ - in %d accounts
+
+
Inbox
@@ -146,10 +165,6 @@
Open
Save
-
- Previous
-
- Next
Attachment saved to SD card as %s.
diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java
index 3c10fceec..2bbc3efcd 100644
--- a/src/com/android/email/activity/MessageView.java
+++ b/src/com/android/email/activity/MessageView.java
@@ -60,10 +60,7 @@ import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
-import android.webkit.CacheManager;
-import android.webkit.UrlInterceptHandler;
import android.webkit.WebView;
-import android.webkit.CacheManager.CacheResult;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
@@ -82,7 +79,7 @@ import java.util.Random;
import java.util.regex.Matcher;
public class MessageView extends Activity
- implements UrlInterceptHandler, OnClickListener {
+ implements OnClickListener {
private static final String EXTRA_ACCOUNT = "com.android.email.MessageView_account";
private static final String EXTRA_FOLDER = "com.android.email.MessageView_folder";
private static final String EXTRA_MESSAGE = "com.android.email.MessageView_message";
@@ -325,8 +322,6 @@ public class MessageView extends Activity
findViewById(R.id.delete).setOnClickListener(this);
findViewById(R.id.show_pictures).setOnClickListener(this);
- // UrlInterceptRegistry.registerHandler(this);
-
mMessageContentView.getSettings().setBlockNetworkImage(true);
mMessageContentView.getSettings().setSupportZoom(false);
@@ -656,26 +651,6 @@ public class MessageView extends Activity
return true;
}
- public CacheResult service(String url, Map headers) {
- String prefix = "http://cid/";
- if (url.startsWith(prefix)) {
- try {
- String contentId = url.substring(prefix.length());
- final Part part = MimeUtility.findPartByContentId(mMessage, "<" + contentId + ">");
- if (part != null) {
- CacheResult cr = new CacheManager.CacheResult();
- // TODO looks fixed in Mainline, cr.setInputStream
- // part.getBody().writeTo(cr.getStream());
- return cr;
- }
- }
- catch (Exception e) {
- // TODO
- }
- }
- return null;
- }
-
private Bitmap getPreviewIcon(Attachment attachment) {
try {
return BitmapFactory.decodeStream(
diff --git a/src/com/android/email/service/MailService.java b/src/com/android/email/service/MailService.java
index 27e3cfd05..b4f6a1046 100644
--- a/src/com/android/email/service/MailService.java
+++ b/src/com/android/email/service/MailService.java
@@ -213,7 +213,9 @@ public class MailService extends Service {
Intent i = new Intent(context, Accounts.class);
PendingIntent pi = PendingIntent.getActivity(context, 0, i, 0);
notif.setLatestEventInfo(context, getString(R.string.notification_new_title),
- getString(R.string.notification_new_multi_account_fmt,
+ getResources().
+ getQuantityString(R.plurals.notification_new_multi_account_fmt,
+ accountsWithNewMail.size(),
accountsWithNewMail.size()), pi);
} else {
Account account1 = accountsWithNewMail.keySet().iterator().next();
@@ -221,7 +223,9 @@ public class MailService extends Service {
Intent i = FolderMessageList.actionHandleAccountIntent(context, account1, Email.INBOX);
PendingIntent pi = PendingIntent.getActivity(context, 0, i, 0);
notif.setLatestEventInfo(context, getString(R.string.notification_new_title),
- getString(R.string.notification_new_one_account_fmt, totalNewMails,
+ getResources().
+ getQuantityString(R.plurals.notification_new_one_account_fmt,
+ totalNewMails, totalNewMails,
account1.getDescription()), pi);
vibrate = account1.isVibrate();
ringtone = account1.getRingtone();