New Tap & Pay UX.

Change-Id: Icbffe0f58d2c37d5691357c13a14ab9a40e53249
This commit is contained in:
Martijn Coenen
2015-04-21 13:47:55 +02:00
parent 79670bbe68
commit fe58b534f6
14 changed files with 646 additions and 278 deletions

View File

@@ -111,13 +111,13 @@ public final class PaymentDefaultDialog extends AlertActivity implements
if (defaultPaymentApp == null) {
String formatString = getString(R.string.nfc_payment_set_default);
String msg = String.format(formatString,
sanitizePaymentAppCaption(requestedPaymentApp.caption.toString()));
sanitizePaymentAppCaption(requestedPaymentApp.label.toString()));
p.mMessage = msg;
} else {
String formatString = getString(R.string.nfc_payment_set_default_instead_of);
String msg = String.format(formatString,
sanitizePaymentAppCaption(requestedPaymentApp.caption.toString()),
sanitizePaymentAppCaption(defaultPaymentApp.caption.toString()));
sanitizePaymentAppCaption(requestedPaymentApp.label.toString()),
sanitizePaymentAppCaption(defaultPaymentApp.label.toString()));
p.mMessage = msg;
}
p.mPositiveButtonText = getString(R.string.yes);