summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-12-18 13:57:37 -0800
committerTyler Gunn <tgunn@google.com>2015-12-18 13:57:37 -0800
commitb31f5d16deb442c7aae2fe232f4799948dd7195d (patch)
tree6a9794415c01eacfa7adc1f7ddb4b5f72b5003a9 /res/values
parent524d87169becc3137963d1c7ebba3493d0fa5e1d (diff)
downloadandroid_packages_apps_Dialer-b31f5d16deb442c7aae2fe232f4799948dd7195d.tar.gz
android_packages_apps_Dialer-b31f5d16deb442c7aae2fe232f4799948dd7195d.tar.bz2
android_packages_apps_Dialer-b31f5d16deb442c7aae2fe232f4799948dd7195d.zip
Support carrier presence-based video calling icon.
- Update SmartDial database to track carrier presence. - Add video call style elements to dialer stylesheet. - Tore out hair in frustration tracing through code. - Add listeners to allow dialing of video calls from search results. Bug: 20257833 Change-Id: I476cccb8c2805ae6f9949366fc5c2ce2669b7734
Diffstat (limited to 'res/values')
-rw-r--r--res/values/styles.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 8c2726506..66a45f977 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -40,13 +40,13 @@
<item name="section_header_background">@drawable/list_title_holo</item>
<item name="list_section_header_height">32dip</item>
<item name="list_item_padding_top">12dp</item>
- <item name="list_item_padding_right">32dp</item>
+ <item name="list_item_padding_right">24dp</item>
<item name="list_item_padding_bottom">12dp</item>
<item name="list_item_padding_left">16dp</item>
<item name="list_item_gap_between_image_and_text">
@dimen/contact_browser_list_item_gap_between_image_and_text
</item>
- <item name="list_item_gap_between_label_and_data">5dip</item>
+ <item name="list_item_gap_between_label_and_data">8dip</item>
<item name="list_item_presence_icon_margin">4dip</item>
<item name="list_item_presence_icon_size">16dip</item>
<item name="list_item_photo_size">@dimen/contact_browser_list_item_photo_size</item>
@@ -85,6 +85,10 @@
<item name="android:colorControlActivated">@color/dialer_theme_color</item>
<item name="android:colorButtonNormal">@color/dialer_theme_color</item>
<item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item>
+
+ <!-- Video call icon -->
+ <item name="list_item_video_call_icon_size">32dip</item>
+ <item name="list_item_video_call_icon_margin">8dip</item>
</style>
<style name="DialerButtonTextStyle" parent="@android:style/TextAppearance.Material.Widget.Button">