Remove the intermediate visible activity title bar.
Also put the widget name into a resource
Bug:3142568
Change-Id: I2f8d5a3bd683659f169aa3186644328bd8abf1c3
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7d1b2c7..0bc6012 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -558,7 +558,7 @@
<!-- The widget that shows details and the social stream of a contact -->
<receiver android:name=".socialwidget.SocialWidgetProvider"
- android:label="Contact Social Stream" >
+ android:label="@string/social_widget_label" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
@@ -568,7 +568,7 @@
<activity
android:name=".socialwidget.SocialWidgetConfigureActivity"
- android:theme="@style/SocialWidgetConfigureTheme">
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.APPWIDGET_PICK" />
</intent-filter>
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index 382665e..c095201 100644
--- a/res/values-xlarge/styles.xml
+++ b/res/values-xlarge/styles.xml
@@ -53,9 +53,6 @@
<item name="list_item_photo_size">64dip</item>
</style>
- <style name="SocialWidgetConfigureTheme" parent="ContactPickerTheme">
- </style>
-
<style name="ContactsSearchTheme" parent="ContactPickerTheme">
</style>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8f0ffea..df74a97 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1403,4 +1403,7 @@
<!-- Checkbox whether to provide a year for a birthday [CHAR LIMIT=30] -->
<string name="date_year_toggle">Provide a year</string>
+
+ <!-- Label for the widget that shows picture and social status of a contact [CHAR LIMIT=20] -->
+ <string name="social_widget_label">Contact</string>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 7924bc2..ee65b65 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -173,9 +173,6 @@
<item name="list_item_header_checkbox_margin">5dip</item>
</style>
- <style name="SocialWidgetConfigureTheme" parent="ContactPickerTheme">
- </style>
-
<style name="JoinContactActivityTheme" parent="ContactPickerTheme">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>