Merge "Import revised translations. DO NOT MERGE. Bug 3394542" into honeycomb
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index 41f947a..e601590 100644
--- a/res/values-xlarge/styles.xml
+++ b/res/values-xlarge/styles.xml
@@ -94,7 +94,7 @@
<item name="android:background">@drawable/directory_bg_holo</item>
</style>
- <style name="NonPhoneActivityTheme" parent="@android:Theme.Holo.Light.Dialog">
+ <style name="NonPhoneDialogTheme" parent="@android:Theme.Holo.Light.Dialog.Alert">
</style>
<style name="BackgroundOnly" parent="@android:Theme.Holo.Light">
diff --git a/res/values/styles.xml b/res/values/styles.xml
index bba6e5b..db50204 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -197,7 +197,10 @@
<item name="android:background">@drawable/directory_bg</item>
</style>
- <style name="NonPhoneActivityTheme" parent="@android:Theme.Dialog">
+ <style name="NonPhoneActivityTheme" parent="@android:Theme.Translucent">
+ </style>
+
+ <style name="NonPhoneDialogTheme" parent="@android:Theme.Dialog">
</style>
<style name="SectionDivider">
diff --git a/src/com/android/contacts/activities/NonPhoneActivity.java b/src/com/android/contacts/activities/NonPhoneActivity.java
index 758996b..26eed7c 100644
--- a/src/com/android/contacts/activities/NonPhoneActivity.java
+++ b/src/com/android/contacts/activities/NonPhoneActivity.java
@@ -65,7 +65,8 @@
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
final AlertDialog alertDialog;
- alertDialog = new AlertDialog.Builder(getActivity()).create();
+ alertDialog = new AlertDialog.Builder(getActivity(), R.style.NonPhoneDialogTheme)
+ .create();
alertDialog.setTitle(R.string.non_phone_caption);
alertDialog.setMessage(getArgumentPhoneNumber());
alertDialog.setButton(DialogInterface.BUTTON_POSITIVE,