New People activity
- This is part 1 of bringing up the new People app
- Rename ContactBrowserActivity and related XMLs to PeopleActivity
- Change Contacts to People app launcher icon
- Create new task affinity for phone app activities
- Get rid of ContactsFrontDoor activity because it doesn't need
to distinguish between Dialtacts and ContactBrowserActivity anymore
Change-Id: I8c5e1ed540b294c1bda85409ca1499f88d4459ee
diff --git a/res/layout-xlarge/contact_browser.xml b/res/layout-xlarge/people_activity.xml
similarity index 100%
rename from res/layout-xlarge/contact_browser.xml
rename to res/layout-xlarge/people_activity.xml
diff --git a/res/layout/contact_browser.xml b/res/layout/people_activity.xml
similarity index 100%
rename from res/layout/contact_browser.xml
rename to res/layout/people_activity.xml
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index dcb32ad..d44d993 100644
--- a/res/values-xlarge/styles.xml
+++ b/res/values-xlarge/styles.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<resources>
- <style name="ContactBrowserTheme" parent="@android:Theme.Holo.Light">
+ <style name="PeopleTheme" parent="@android:Theme.Holo.Light">
<item name="list_item_height">66dip</item>
<item name="activated_background">@drawable/list_item_activated_background</item>
<item name="android:windowContentOverlay">@null</item>
@@ -87,7 +87,7 @@
<item name="android:background">@null</item>
</style>
- <style name="DirectoryHeader" parent="ContactBrowserTheme">
+ <style name="DirectoryHeader" parent="PeopleTheme">
<item name="android:background">@drawable/directory_bg_holo</item>
</style>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5605d25..48af4a6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -18,14 +18,17 @@
apps sharing the uid). -->
<string name="sharedUserLabel">Android Core Apps</string>
- <!-- Title for the activity that shows contacts. This is the name
- used in the Launcher icon. -->
- <string name="contactsList">Contacts</string>
-
<!-- Title for the activity that dials the phone. This is the name
used in the Launcher icon. -->
<string name="launcherDialer">Phone</string>
+ <!-- Title for the activity that opens the People app. This is the name
+ used in the Launcher icon. -->
+ <string name="people">People</string>
+
+ <!-- Directory partition name -->
+ <string name="contactsList">Contacts</string>
+
<!-- Name of activity that allows users to create shortcuts on the home screen to a contact.
This shows up in a list of things like bookmark, folder, music playlist, etc -->
<string name="shortcutContact">Contact</string>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 0582fd4..df8b808 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -107,7 +107,7 @@
<attr name="list_item_header_text_size" format="dimension" />
</declare-styleable>
- <style name="ContactBrowserTheme" parent="@android:Theme">
+ <style name="PeopleTheme" parent="@android:Theme">
<item name="list_item_height">?android:attr/listPreferredItemHeight</item>
<item name="activated_background">@drawable/list_item_activated_background</item>
<item name="section_header_background">@drawable/list_title_holo</item>
@@ -217,7 +217,7 @@
<attr name="animationDuration" format="integer"/>
</declare-styleable>
- <style name="DirectoryHeader" parent="ContactBrowserTheme">
+ <style name="DirectoryHeader" parent="PeopleTheme">
<item name="android:background">@drawable/directory_bg</item>
</style>