diff options
author | Nancy Chen <nancychen@google.com> | 2014-08-06 18:08:43 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-06 18:08:43 +0000 |
commit | be27026f40360b0a671fee1a31d3d168c7edb76c (patch) | |
tree | 92c8cb0efb2da5d2519f7ca872475b9e5843187b | |
parent | 484b0fde6a1e11f9447c6c0220d2f74e5cbf5b9a (diff) | |
parent | c43efd60087a2e4b24e859a6eb9195237f168b9a (diff) |
am c43efd60: am 03ef0495: am 0e6d7b04: Change background color for SearchFragment
* commit 'c43efd60087a2e4b24e859a6eb9195237f168b9a':
Change background color for SearchFragment
-rw-r--r-- | res/values/styles.xml | 2 | ||||
-rw-r--r-- | src/com/android/dialer/list/SearchFragment.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 9f37d2883..a3ef1c630 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -52,7 +52,7 @@ <item name="list_item_label_width_weight">3</item> <item name="contact_browser_list_padding_left">0dp</item> <item name="contact_browser_list_padding_right">0dp</item> - <item name="contact_browser_background">@color/background_dialer_light</item> + <item name="contact_browser_background">@color/background_dialer_results</item> <item name="list_item_name_text_color">@color/contact_list_name_text_color</item> <item name="list_item_name_text_size">16sp</item> <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item> diff --git a/src/com/android/dialer/list/SearchFragment.java b/src/com/android/dialer/list/SearchFragment.java index 5cb30b6b9..027db8811 100644 --- a/src/com/android/dialer/list/SearchFragment.java +++ b/src/com/android/dialer/list/SearchFragment.java @@ -98,6 +98,7 @@ public class SearchFragment extends PhoneNumberPickerFragment { final ListView listView = getListView(); + listView.setBackgroundColor(res.getColor(R.color.background_dialer_results)); listView.setClipToPadding(false); setVisibleScrollbarEnabled(false); listView.setOnScrollListener(new OnScrollListener() { |