From 6cc6cfe9aa486e7232c9305272e2f1074eae5115 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 9 May 2014 17:11:01 -0700 Subject: Add touch feedback tint to end call button. Bug: 14108639 Change-Id: I618e802da139c147a22d0a4e60b50ac25c5a50c7 --- InCallUI/res/drawable/end_call_background.xml | 10 ++++---- .../floating_end_button_active_background.xml | 28 ---------------------- .../floating_end_button_compound_background.xml | 24 ------------------- .../floating_end_button_disabled_background.xml | 28 ---------------------- .../floating_end_button_pressed_background.xml | 28 ---------------------- InCallUI/res/layout/call_card.xml | 2 +- InCallUI/res/values/colors.xml | 9 +------ 7 files changed, 7 insertions(+), 122 deletions(-) delete mode 100644 InCallUI/res/drawable/floating_end_button_active_background.xml delete mode 100644 InCallUI/res/drawable/floating_end_button_compound_background.xml delete mode 100644 InCallUI/res/drawable/floating_end_button_disabled_background.xml delete mode 100644 InCallUI/res/drawable/floating_end_button_pressed_background.xml (limited to 'InCallUI') diff --git a/InCallUI/res/drawable/end_call_background.xml b/InCallUI/res/drawable/end_call_background.xml index 24b437482..4477d9e30 100644 --- a/InCallUI/res/drawable/end_call_background.xml +++ b/InCallUI/res/drawable/end_call_background.xml @@ -15,8 +15,8 @@ --> - - - - - + + + diff --git a/InCallUI/res/drawable/floating_end_button_active_background.xml b/InCallUI/res/drawable/floating_end_button_active_background.xml deleted file mode 100644 index 935c93721..000000000 --- a/InCallUI/res/drawable/floating_end_button_active_background.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/InCallUI/res/drawable/floating_end_button_compound_background.xml b/InCallUI/res/drawable/floating_end_button_compound_background.xml deleted file mode 100644 index 433545b84..000000000 --- a/InCallUI/res/drawable/floating_end_button_compound_background.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - diff --git a/InCallUI/res/drawable/floating_end_button_disabled_background.xml b/InCallUI/res/drawable/floating_end_button_disabled_background.xml deleted file mode 100644 index 3772b00b0..000000000 --- a/InCallUI/res/drawable/floating_end_button_disabled_background.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/InCallUI/res/drawable/floating_end_button_pressed_background.xml b/InCallUI/res/drawable/floating_end_button_pressed_background.xml deleted file mode 100644 index cd58a84e7..000000000 --- a/InCallUI/res/drawable/floating_end_button_pressed_background.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/InCallUI/res/layout/call_card.xml b/InCallUI/res/layout/call_card.xml index 91ee1c629..f2e5b1865 100644 --- a/InCallUI/res/layout/call_card.xml +++ b/InCallUI/res/layout/call_card.xml @@ -99,7 +99,7 @@ android:layout_width="@dimen/floating_action_button_width" android:layout_height="@dimen/floating_action_button_height" android:layout_marginBottom="@dimen/end_call_button_margin_bottom" - android:background="@drawable/floating_end_button_compound_background" + android:background="@drawable/end_call_background" android:src="@drawable/fab_ic_end_call" android:contentDescription="@string/onscreenEndCallText" /> diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml index 1aebb1bfe..c20d4a689 100644 --- a/InCallUI/res/values/colors.xml +++ b/InCallUI/res/values/colors.xml @@ -41,14 +41,7 @@ #888888 - - #f22121 - - - #ff4e4e - - - #303030 + #dddddd #000000 -- cgit v1.2.3