From af6f195af0bb200d1bb06ad11dac476e8dff0073 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 14 Jul 2014 19:13:16 -0700 Subject: Make ContactPreferences use SharedPreferences instead of System settings (5/5) * Move constants that originally lived in the framework into ContactsCommon * Use SharedPreferences instead of System settings to persist preferences * Use a SharedPreferenceListener to monitor changes instead of a content observer on system settings * Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that it can be used by Dialer * Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity extend it Bug: 16153186 Change-Id: I27befcc3b038038830f72092b55a6fc8a6f85674 --- res/menu/dialtacts_options.xml | 2 +- res/values/colors.xml | 6 ++++++ res/values/strings.xml | 12 ++++++++++-- res/values/styles.xml | 9 +++++++++ 4 files changed, 26 insertions(+), 3 deletions(-) (limited to 'res') diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index 17f4d9fe1..cc5e3868e 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -30,6 +30,6 @@ android:title="@string/menu_newContact"/> diff --git a/res/values/colors.xml b/res/values/colors.xml index 6624c2d80..cbf737cb2 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -21,6 +21,12 @@ #888888 #eeff41 + + #4d4c4c + + #989898 + #ffffff + #FF0000 diff --git a/res/values/strings.xml b/res/values/strings.xml index e51aff714..29b965163 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -329,8 +329,8 @@ Select Account - - Settings + + Settings New contact @@ -750,4 +750,12 @@ ", " + + + + + Call Settings + + + Ringtones, voicemail settings, VoIP calling, etc diff --git a/res/values/styles.xml b/res/values/styles.xml index 0140db8e1..a7c1ec138 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -150,4 +150,13 @@ @dimen/dismiss_button_padding_start @dimen/dismiss_button_padding_end + + + -- cgit v1.2.3