summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-12 14:31:45 -0700
committerAndrew Lee <anwlee@google.com>2014-05-12 14:44:31 -0700
commit0c66770b304d03367f093e1916cf565d9cf70146 (patch)
tree7afc8cb174a5787bcabfe1b0e2664002cca1d2e7 /res
parent8d62368706306cf4bc74cf29c527d5b98b43baaa (diff)
Change search list background to grey.
- Change the layout parent background programatically in the activity, when the dialpad is shown or hidden. - Change the gradient above the dialpad fragment in Dialer too. - Add directory header attrs color. Change-Id: I97be52f07480ee5b4db55555ef4e4de0feb7d55a
Diffstat (limited to 'res')
-rw-r--r--res/drawable/shadow_fade_up.xml4
-rw-r--r--res/layout/dialpad_fragment.xml2
-rw-r--r--res/values/colors.xml1
-rw-r--r--res/values/styles.xml2
4 files changed, 5 insertions, 4 deletions
diff --git a/res/drawable/shadow_fade_up.xml b/res/drawable/shadow_fade_up.xml
index e2d993484..e961c860a 100644
--- a/res/drawable/shadow_fade_up.xml
+++ b/res/drawable/shadow_fade_up.xml
@@ -18,7 +18,7 @@
android:shape="rectangle" >
<gradient
android:type="linear"
- android:startColor="#66999999"
- android:endColor="#00ffffff"
+ android:startColor="#1a000000"
+ android:endColor="@null"
android:angle="90"/>
</shape> \ No newline at end of file
diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml
index 33324d1e0..b2312ada0 100644
--- a/res/layout/dialpad_fragment.xml
+++ b/res/layout/dialpad_fragment.xml
@@ -28,7 +28,7 @@
<!-- Dialpad shadow -->
<View
android:layout_width="match_parent"
- android:layout_height="3dp"
+ android:layout_height="10dp"
android:background="@drawable/shadow_fade_up" />
<include layout="@layout/dialpad_view" />
<!-- "Dialpad chooser" UI, shown only when the user brings up the
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 8dc051a89..27965d280 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -21,6 +21,7 @@
<color name="dialtacts_secondary_text_color">#888888</color>
<color name="dialer_accent_color">#eeff41</color>
+ <color name="contact_list_background_color">#f2f2f2</color>
<!-- Color of the text describing an unconsumed missed call. -->
<color name="call_log_missed_call_highlight_color">#FF0000</color>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index a45d1e787..e541b0b2b 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -57,7 +57,7 @@
<item name="list_item_label_width_weight">3</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="contact_browser_background">@color/contact_list_background_color</item>
<item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
<!-- CallLog -->
<item name="call_log_primary_text_color">#000000</item>