From dba3da41d49c8787a0ed7961fef2ab0bd4ac1770 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 25 Apr 2014 14:39:22 -0700 Subject: Use ShapeDrawable for floating end call button in InCallUI Change-Id: I30a8b475b09dea8de3fae7d163acdcb13718e9b4 --- .../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 +- 5 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 InCallUI/res/drawable/floating_end_button_active_background.xml create mode 100644 InCallUI/res/drawable/floating_end_button_compound_background.xml create mode 100644 InCallUI/res/drawable/floating_end_button_disabled_background.xml create mode 100644 InCallUI/res/drawable/floating_end_button_pressed_background.xml diff --git a/InCallUI/res/drawable/floating_end_button_active_background.xml b/InCallUI/res/drawable/floating_end_button_active_background.xml new file mode 100644 index 000000000..935c93721 --- /dev/null +++ b/InCallUI/res/drawable/floating_end_button_active_background.xml @@ -0,0 +1,28 @@ + + + + + + + + \ 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 new file mode 100644 index 000000000..2f2ad7921 --- /dev/null +++ b/InCallUI/res/drawable/floating_end_button_compound_background.xml @@ -0,0 +1,24 @@ + + + + + + + + + diff --git a/InCallUI/res/drawable/floating_end_button_disabled_background.xml b/InCallUI/res/drawable/floating_end_button_disabled_background.xml new file mode 100644 index 000000000..3772b00b0 --- /dev/null +++ b/InCallUI/res/drawable/floating_end_button_disabled_background.xml @@ -0,0 +1,28 @@ + + + + + + + + \ 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 new file mode 100644 index 000000000..cd58a84e7 --- /dev/null +++ b/InCallUI/res/drawable/floating_end_button_pressed_background.xml @@ -0,0 +1,28 @@ + + + + + + + + \ No newline at end of file diff --git a/InCallUI/res/layout/call_card.xml b/InCallUI/res/layout/call_card.xml index 87523106e..69c9710aa 100644 --- a/InCallUI/res/layout/call_card.xml +++ b/InCallUI/res/layout/call_card.xml @@ -87,7 +87,7 @@ -- cgit v1.2.3