Increase vertical padding on the secondary call info.
Changed the top/bottom padding from 8dp to 24dp, to make the hit
target larger. Also, tweaked the elevation constants so that
there is a less prominent shadow cast on the secondary call info
by the primary call info.
Bug: 14492083
Change-Id: I75bedbf04bb18672414bab2a7f455872202ce851
diff --git a/InCallUI/res/layout/secondary_call_info.xml b/InCallUI/res/layout/secondary_call_info.xml
index e45d90d..8b39b05 100644
--- a/InCallUI/res/layout/secondary_call_info.xml
+++ b/InCallUI/res/layout/secondary_call_info.xml
@@ -23,8 +23,8 @@
android:orientation="horizontal"
android:paddingStart="@dimen/call_banner_side_padding"
android:paddingEnd="@dimen/secondary_call_banner_right_padding"
- android:paddingTop="@dimen/call_banner_top_bottom_padding"
- android:paddingBottom="@dimen/call_banner_top_bottom_padding"
+ android:paddingTop="@dimen/call_banner_secondary_call_top_bottom_padding"
+ android:paddingBottom="@dimen/call_banner_secondary_call_top_bottom_padding"
android:background="@color/incall_banner_secondary_background_color"
android:elevation="@dimen/secondary_call_elevation" >
diff --git a/InCallUI/res/values/dimens.xml b/InCallUI/res/values/dimens.xml
index e34aca8..cef0ee5 100644
--- a/InCallUI/res/values/dimens.xml
+++ b/InCallUI/res/values/dimens.xml
@@ -32,7 +32,7 @@
<dimen name="secondary_call_banner_right_padding">24dp</dimen>
<!-- Padding at the top and bottom edges of the "call banner". -->
<dimen name="call_banner_primary_call_top_padding">24dp</dimen>
- <dimen name="call_banner_top_bottom_padding">8dp</dimen>
+ <dimen name="call_banner_secondary_call_top_bottom_padding">24dp</dimen>
<!-- Padding at the top and bottom edges of the "provider information" -->
<dimen name="provider_info_top_bottom_padding">8dp</dimen>
@@ -55,8 +55,8 @@
<!-- Height of buttons in the extra button row. -->
<dimen name="extra_row_button_height">@dimen/in_call_button_dimension</dimen>
- <dimen name="primary_call_elevation">8dp</dimen>
- <dimen name="secondary_call_elevation">8dp</dimen>
+ <dimen name="primary_call_elevation">4dp</dimen>
+ <dimen name="secondary_call_elevation">4dp</dimen>
<!-- Padding at the left and right edges of the incall_touch_ui button