summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-07-29 16:47:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-29 16:47:30 +0000
commitdc3fd706f418440cb3eee454149bb7be4545b9a1 (patch)
treeee61758f01b7cf68512f0042a75e589608c07bc8
parent9b66cff4a7580753a910e119de19f3c529386cd8 (diff)
parentc59a4b5df9f21a6ec47bcf6c2bb67ecdc9fbe58a (diff)
Merge "Redlines for phone number list fragments"
-rw-r--r--res/layout/new_phone_favorites_fragment.xml3
-rw-r--r--res/values/styles.xml7
-rw-r--r--src/com/android/dialer/NewSearchFragment.java4
3 files changed, 5 insertions, 9 deletions
diff --git a/res/layout/new_phone_favorites_fragment.xml b/res/layout/new_phone_favorites_fragment.xml
index 9974adf65..cc11ea164 100644
--- a/res/layout/new_phone_favorites_fragment.xml
+++ b/res/layout/new_phone_favorites_fragment.xml
@@ -22,7 +22,8 @@
android:orientation="vertical"
android:divider="?android:attr/dividerHorizontal"
android:showDividers="end"
- android:clipChildren="false">
+ android:clipChildren="false"
+ android:background="@color/background_dialer_light">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 0cdf223e3..86df4ae7f 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -73,7 +73,6 @@
<item name="android:actionBarStyle">@style/DialtactsActionBarStyleNew</item>
<item name="android:actionBarTabStyle">@style/DialtactsActionBarTabStyle</item>
<item name="android:windowContentOverlay">@null</item>
- <item name="android:windowBackground">@color/background_dialer_light</item>
<!-- Searchbox Style -->
<item name="android:editTextStyle">@style/DialtactsSearchboxStyle</item>
<item name="android:listViewStyle">@style/ListViewStyle</item>
@@ -81,9 +80,9 @@
<item name="section_header_background">@drawable/list_title_holo</item>
<item name="list_section_header_height">32dip</item>
<item name="list_item_divider">?android:attr/listDivider</item>
- <item name="list_item_padding_top">0dip</item>
+ <item name="list_item_padding_top">8dip</item>
<item name="list_item_padding_right">0dip</item>
- <item name="list_item_padding_bottom">0dip</item>
+ <item name="list_item_padding_bottom">8dip</item>
<item name="list_item_padding_left">0dip</item>
<item name="list_item_gap_between_image_and_text">8dip</item>
<item name="list_item_gap_between_label_and_data">5dip</item>
@@ -100,7 +99,7 @@
<item name="list_item_header_underline_color">@color/people_app_theme_color</item>
<item name="list_item_data_width_weight">5</item>
<item name="list_item_label_width_weight">3</item>
- <item name="contact_browser_list_padding_left">16dip</item>
+ <item name="contact_browser_list_padding_left">8dip</item>
<item name="contact_browser_list_padding_right">0dip</item>
<item name="contact_browser_background">@android:color/transparent</item>
<item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
diff --git a/src/com/android/dialer/NewSearchFragment.java b/src/com/android/dialer/NewSearchFragment.java
index c428db239..0ddee4207 100644
--- a/src/com/android/dialer/NewSearchFragment.java
+++ b/src/com/android/dialer/NewSearchFragment.java
@@ -16,16 +16,12 @@
package com.android.dialer;
import android.app.Activity;
-import android.os.Bundle;
import android.view.LayoutInflater;
-import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
-import android.widget.ListView;
import com.android.contacts.common.list.ContactListItemView;
-import com.android.contacts.common.list.PhoneNumberListAdapter;
import com.android.contacts.common.list.PhoneNumberPickerFragment;
import com.android.dialer.list.OnListFragmentScrolledListener;