From 991acb8d1b00d68e2be118cae5e9396d1127d5bb Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Fri, 24 Oct 2014 16:00:55 -0700 Subject: In Multi-SIM cases use the color of the SIM icon for InCallUI. Set the color of the InCallUI to be the color of the SIM icon. In the single SIM case, the background should be the default background. * Added id to all call button backgrounds for color change * Initialize color onResume for InCallActivity * CallCardFragment/CallButtonFragment/DialpadFragment update their colors * Added InCallUIMaterialColorMapUtils to extract color Bug: 17971273 Change-Id: Ia247b153b57ffc8a5277d521c433ab0be6696cf6 --- InCallUI/res/drawable/btn_add.xml | 5 ++-- InCallUI/res/drawable/btn_change_to_video.xml | 3 ++- InCallUI/res/drawable/btn_change_to_voice.xml | 3 ++- InCallUI/res/drawable/btn_compound_background.xml | 2 +- InCallUI/res/drawable/btn_compound_dialpad.xml | 3 ++- InCallUI/res/drawable/btn_compound_hold.xml | 3 ++- InCallUI/res/drawable/btn_compound_mute.xml | 3 ++- InCallUI/res/drawable/btn_compound_video_off.xml | 3 ++- .../res/drawable/btn_compound_video_switch.xml | 3 ++- InCallUI/res/drawable/btn_merge.xml | 3 ++- InCallUI/res/drawable/btn_overflow.xml | 3 ++- InCallUI/res/drawable/btn_swap.xml | 3 ++- InCallUI/res/layout/call_button_fragment.xml | 2 +- InCallUI/res/values/colors.xml | 27 ++++++++++++++++++++++ 14 files changed, 52 insertions(+), 14 deletions(-) (limited to 'InCallUI/res') diff --git a/InCallUI/res/drawable/btn_add.xml b/InCallUI/res/drawable/btn_add.xml index 515d65b00..7d5e90f71 100644 --- a/InCallUI/res/drawable/btn_add.xml +++ b/InCallUI/res/drawable/btn_add.xml @@ -18,12 +18,13 @@ - + - + \ No newline at end of file diff --git a/InCallUI/res/drawable/btn_change_to_video.xml b/InCallUI/res/drawable/btn_change_to_video.xml index 962539e4f..a26cee3e9 100644 --- a/InCallUI/res/drawable/btn_change_to_video.xml +++ b/InCallUI/res/drawable/btn_change_to_video.xml @@ -18,7 +18,8 @@ - + - + cd + android:drawable="@drawable/btn_unselected_focused" /> diff --git a/InCallUI/res/drawable/btn_compound_dialpad.xml b/InCallUI/res/drawable/btn_compound_dialpad.xml index fcd9a3c0f..1b78ead44 100644 --- a/InCallUI/res/drawable/btn_compound_dialpad.xml +++ b/InCallUI/res/drawable/btn_compound_dialpad.xml @@ -18,7 +18,8 @@ - + diff --git a/InCallUI/res/drawable/btn_compound_hold.xml b/InCallUI/res/drawable/btn_compound_hold.xml index dcf95073a..7974efae5 100644 --- a/InCallUI/res/drawable/btn_compound_hold.xml +++ b/InCallUI/res/drawable/btn_compound_hold.xml @@ -18,7 +18,8 @@ - + diff --git a/InCallUI/res/drawable/btn_compound_mute.xml b/InCallUI/res/drawable/btn_compound_mute.xml index 68a8c9b34..86708fb0c 100644 --- a/InCallUI/res/drawable/btn_compound_mute.xml +++ b/InCallUI/res/drawable/btn_compound_mute.xml @@ -18,7 +18,8 @@ - + diff --git a/InCallUI/res/drawable/btn_compound_video_off.xml b/InCallUI/res/drawable/btn_compound_video_off.xml index 8af4209d3..b942cd0c3 100644 --- a/InCallUI/res/drawable/btn_compound_video_off.xml +++ b/InCallUI/res/drawable/btn_compound_video_off.xml @@ -19,7 +19,8 @@ - + diff --git a/InCallUI/res/drawable/btn_compound_video_switch.xml b/InCallUI/res/drawable/btn_compound_video_switch.xml index ef171ab9c..f8111866e 100644 --- a/InCallUI/res/drawable/btn_compound_video_switch.xml +++ b/InCallUI/res/drawable/btn_compound_video_switch.xml @@ -19,7 +19,8 @@ - + diff --git a/InCallUI/res/drawable/btn_merge.xml b/InCallUI/res/drawable/btn_merge.xml index 78e19749f..2b4818a47 100644 --- a/InCallUI/res/drawable/btn_merge.xml +++ b/InCallUI/res/drawable/btn_merge.xml @@ -18,7 +18,8 @@ - + - + - + #330288d1 + + + + #00796B + #3367D6 + #303F9F + #7B1FA2 + #C2185B + #C53929 + + + + + #004D40 + #1C3AA9 + #1A237E + #4A148C + #880E4F + #A52714 + -- cgit v1.2.3