From f38625fd99448845cce64e19996f643bb43f5909 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 8 May 2014 18:01:13 -0700 Subject: Move glowpad to call card fragment. - Move the answer fragment into the call card so that it lays out correctly over the contact photo. - Update glowpad color so it is partially transparent. - Instead of disabling end call button, hide it if it is not enabled. Bug: 14658215 Change-Id: Ibaaf0b1b0d3afc4c9e3e8e9f5c322fccd0ffc321 --- InCallUI/res/layout/answer_fragment.xml | 2 +- InCallUI/res/layout/call_card.xml | 11 +++++++++++ InCallUI/res/layout/incall_screen.xml | 12 ------------ InCallUI/res/values/colors.xml | 2 ++ InCallUI/src/com/android/incallui/CallCardFragment.java | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/res/layout/answer_fragment.xml b/InCallUI/res/layout/answer_fragment.xml index 15c2093eb..92630b89b 100644 --- a/InCallUI/res/layout/answer_fragment.xml +++ b/InCallUI/res/layout/answer_fragment.xml @@ -25,7 +25,7 @@ android:focusable="true" android:layout_centerHorizontal="true" android:gravity="center" - android:background="@android:color/black" + android:background="@color/glowpad_background_color" android:visibility="gone" dc:targetDrawables="@array/incoming_call_widget_3way_targets" diff --git a/InCallUI/res/layout/call_card.xml b/InCallUI/res/layout/call_card.xml index 07ecef074..6a06cabd0 100644 --- a/InCallUI/res/layout/call_card.xml +++ b/InCallUI/res/layout/call_card.xml @@ -75,6 +75,17 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> + + diff --git a/InCallUI/res/layout/incall_screen.xml b/InCallUI/res/layout/incall_screen.xml index 45bf37a11..9f7569574 100644 --- a/InCallUI/res/layout/incall_screen.xml +++ b/InCallUI/res/layout/incall_screen.xml @@ -27,18 +27,6 @@ android:layout_alignParentTop="true" android:layout_alignParentStart="true" /> - - - #0fc6dc + + #cc000000 #99CE3F diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index e08c6207f..376d588dc 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -484,7 +484,7 @@ public class CallCardFragment extends BaseFragment