Dialog for showing phone numbers on devices that can not be used as phones
Bug:3116684
Change-Id: I000df5fa6d83812a60fa5eb4c7e621cca2adb4fe
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index 0972468..f6ffa33 100644
--- a/res/values-xlarge/styles.xml
+++ b/res/values-xlarge/styles.xml
@@ -98,4 +98,7 @@
<style name="DirectoryHeader" parent="ContactBrowserTheme">
<item name="android:background">@drawable/directory_bg_holo</item>
</style>
+
+ <style name="NonPhoneActivityTheme" parent="@android:Theme.Holo.Light.Dialog">
+ </style>
</resources>
diff --git a/res/values/donottranslate_config.xml b/res/values/donottranslate_config.xml
index e41e153..cad2a63 100644
--- a/res/values/donottranslate_config.xml
+++ b/res/values/donottranslate_config.xml
@@ -18,9 +18,6 @@
-->
<resources>
- <!-- Indicates whether the dialer activity is enabled in the build -->
- <bool name="dialerEnabled">true</bool>
-
<!-- Flag indicating whether Contacts app is allowed to import contacts from SDCard -->
<bool name="config_allow_import_from_sdcard">true</bool>
<!-- If true, all vcard files are imported from SDCard without asking a user.
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 42922fa..b14a95e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1370,8 +1370,16 @@
<!-- Text used to show a organization that has both a company and title. This is used in the Detail-View
of a Contact. This is mostly about the formatting of the two elements, so it should be kept small [CHAR LIMIT=79] -->
<string name="organization_company_and_title"><xliff:g id="company" example="Technical Program Manager">%2$s</xliff:g>, <xliff:g id="company" example="Google Inc.">%1$s</xliff:g></string>
-
+
<!-- Query hint displayed inside the search field [CHAR LIMIT=64] -->
<string name="hint_findContacts">Find contacts</string>
-
+
+ <!-- Title shown for the phone number when the number tries to call on a device that it not a phone [CHAR LIMIT=30] -->
+ <string name="non_phone_caption">Phone number</string>
+
+ <!-- Button to add a phone number to contacts [CHAR LIMIT=25] -->
+ <string name="non_phone_add_to_contacts">Add to contacts</string>
+
+ <!-- Button to close without add a phone number to contacts [CHAR LIMIT=25] -->
+ <string name="non_phone_close">Close</string>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 5f64e27..7924bc2 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -211,4 +211,7 @@
<style name="DirectoryHeader" parent="ContactBrowserTheme">
<item name="android:background">@drawable/directory_bg</item>
</style>
+
+ <style name="NonPhoneActivityTheme" parent="@android:Theme.Dialog">
+ </style>
</resources>