summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/nfc_payment_empty_state.pngbin10225 -> 4244 bytes
-rw-r--r--res/drawable-mdpi/nfc_payment_empty_state.pngbin6222 -> 2861 bytes
-rw-r--r--res/drawable-xhdpi/nfc_payment_empty_state.pngbin16762 -> 5939 bytes
-rw-r--r--res/drawable-xxhdpi/nfc_payment_empty_state.pngbin24730 -> 6265 bytes
-rw-r--r--res/layout/nfc_payment.xml16
-rw-r--r--res/menu/nfc_payment_settings.xml23
-rw-r--r--res/values/donottranslate.xml2
-rw-r--r--res/values/strings.xml9
8 files changed, 38 insertions, 12 deletions
diff --git a/res/drawable-hdpi/nfc_payment_empty_state.png b/res/drawable-hdpi/nfc_payment_empty_state.png
index 69b22f2..300a053 100644
--- a/res/drawable-hdpi/nfc_payment_empty_state.png
+++ b/res/drawable-hdpi/nfc_payment_empty_state.png
Binary files differ
diff --git a/res/drawable-mdpi/nfc_payment_empty_state.png b/res/drawable-mdpi/nfc_payment_empty_state.png
index 1ab7187..28a1e31 100644
--- a/res/drawable-mdpi/nfc_payment_empty_state.png
+++ b/res/drawable-mdpi/nfc_payment_empty_state.png
Binary files differ
diff --git a/res/drawable-xhdpi/nfc_payment_empty_state.png b/res/drawable-xhdpi/nfc_payment_empty_state.png
index 3951c82..e664090 100644
--- a/res/drawable-xhdpi/nfc_payment_empty_state.png
+++ b/res/drawable-xhdpi/nfc_payment_empty_state.png
Binary files differ
diff --git a/res/drawable-xxhdpi/nfc_payment_empty_state.png b/res/drawable-xxhdpi/nfc_payment_empty_state.png
index 914021a..a861b79 100644
--- a/res/drawable-xxhdpi/nfc_payment_empty_state.png
+++ b/res/drawable-xxhdpi/nfc_payment_empty_state.png
Binary files differ
diff --git a/res/layout/nfc_payment.xml b/res/layout/nfc_payment.xml
index 92fe86f..54ac403 100644
--- a/res/layout/nfc_payment.xml
+++ b/res/layout/nfc_payment.xml
@@ -7,22 +7,22 @@
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical" >
- <TextView
- android:id="@+id/nfc_payment_empty_text"
+ <ImageView
+ android:id="@+id/nfc_payment_tap_image"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
- android:textSize="24sp"
android:visibility="gone"
- android:paddingBottom="16dp"
- android:text="@string/nfc_payment_no_apps"/>
- <ImageView
- android:id="@+id/nfc_payment_tap_image"
+ android:src="@drawable/nfc_payment_empty_state"/>
+ <TextView
+ android:id="@+id/nfc_payment_empty_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
+ android:textSize="24sp"
android:visibility="gone"
- android:src="@drawable/nfc_payment_empty_state"/>
+ android:paddingTop="16dp"
+ android:text="@string/nfc_payment_no_apps"/>
</LinearLayout>
<ListView
android:id="@android:id/list"
diff --git a/res/menu/nfc_payment_settings.xml b/res/menu/nfc_payment_settings.xml
new file mode 100644
index 0000000..f35374e
--- /dev/null
+++ b/res/menu/nfc_payment_settings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/nfc_payment_menu_item_add_service"
+ android:title="@string/nfc_payment_menu_item_add_service"
+ android:showAsAction="ifRoom">
+ </item>
+</menu>
diff --git a/res/values/donottranslate.xml b/res/values/donottranslate.xml
index 12697ce..3d12d7c 100644
--- a/res/values/donottranslate.xml
+++ b/res/values/donottranslate.xml
@@ -35,5 +35,7 @@
</string-array>
<!-- Default query string to search for a print service. -->
<string name="download_print_service_query">market://search?q=print service</string>
+ <!-- Default query string to search for a NFC payment service. -->
+ <string name="download_nfc_payment_service_query">market://search?q=nfc payment</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 370a811..099d787 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -4755,14 +4755,15 @@
<string name="global_font_change_title">Change font size</string>
<!-- NFC payment settings --><skip/>
- <string name="nfc_payment_settings_title">Payments</string>
+ <string name="nfc_payment_settings_title">Tap &amp; pay</string>
<!-- String shown when there are no NFC payment applications installed -->
- <string name="nfc_payment_no_apps">DO NOT TRANSLATE ME</string>
+ <string name="nfc_payment_no_apps">You have no apps configured for tap &amp; pay with NFC.</string>
+ <string name="nfc_payment_menu_item_add_service">Find apps</string>
<!-- Label for the dialog that is shown when the user is asked to set a
preferred payment application -->
<string name="nfc_payment_set_default_label">Set as your preference?</string>
- <string name="nfc_payment_set_default">Always use <xliff:g id="app">%1$s</xliff:g> when you tap and pay?</string>
- <string name="nfc_payment_set_default_instead_of">Always use <xliff:g id="app">%1$s</xliff:g> instead of <xliff:g id="app">%2$s</xliff:g> when you tap and pay?</string>
+ <string name="nfc_payment_set_default">Always use <xliff:g id="app">%1$s</xliff:g> when you tap &amp; pay?</string>
+ <string name="nfc_payment_set_default_instead_of">Always use <xliff:g id="app">%1$s</xliff:g> instead of <xliff:g id="app">%2$s</xliff:g> when you tap &amp; pay?</string>
<!-- Restrictions settings --><skip/>
<!-- Restriction settings title [CHAR LIMIT=35] -->